OpenSolaris

Printable Version Enter a New Search
Bug ID 6338131
Synopsis IDE_SUA_LEN() macro can cause integer underflow
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:hsfs
Keywords
Responsible Engineer Frank Hofmann
Reported Against
Duplicate Of
Introduced In solaris_2.0
Commit to Fix snv_30
Fixed In snv_30
Release Fixed solaris_nevada(snv_30) , solaris_10u2(s10u2_04) (Bug ID:2132890) solaris_8(s8patch) (Bug ID:2132913,) solaris_9(s9patch) (Bug ID:2132914,)
Related Bugs 6339513
Submit Date 18-October-2005
Last Update Date 20-December-2005
Description
hsfs should properly validate metadata (length/location) on first access if ever possible.

The code as it stands is far too trusting. That leads to hard-to-track-down failures along the lines of #6244328, which there got fixed by putting validation checks into many places of code. Since additional issues keep creeping up as I continue testing, that approach seems insufficient. This should be done in a better way.
Work Around
N/A
Comments
N/A