OpenSolaris

Printable Version Enter a New Search
Bug ID 6521624
Synopsis fmd_hash_walk() can dump core when given a bad address
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:fm
Keywords fma_s10u5
Responsible Engineer Eric Schrock
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_68
Fixed In snv_68
Release Fixed solaris_nevada(snv_68) , solaris_10u5(s10u5_05) (Bug ID:2155724)
Related Bugs
Submit Date 6-February-2007
Last Update Date 13-November-2007
Description
While playing around with fmd's MDB support, I accidentally fed
a bogus value to "::walk fmd_serd".  This caused mdb to segfault,
beacuse the length passed to hash_walk_init() was zero.  This caused
mdb_alloc() to return NULL, followed by an attempt to deference
the resulting value.  There should be a check for zero hash length
an an appropriate error message.
Work Around
N/A
Comments
N/A