OpenSolaris

Printable Version Enter a New Search
Bug ID 6749458
Synopsis acl_totext(ACL_SID_FMT) doesn't handle failure
State 10-Fix Delivered (Fix available in build)
Category:Subcategory library:other
Keywords
Responsible Engineer Mark Shellenbaum
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_100
Fixed In snv_100
Release Fixed solaris_nevada(snv_100)
Related Bugs 6714392
Submit Date 17-September-2008
Last Update Date 8-October-2008
Description
In acl_totext(), when using the ACL_SID_FMT flag, we call into
prsidname() to resolve the username for ephemeral IDs.  This function
has a variety of failure modes, most notably allocation failure
and idmap failure.  However, it simply returns NULL, which is
immediately passed to str_append(), and will promptly cause a segfault.
This error should be handled gracefully, and there should be some
way to recover in this failure case.
Work Around
N/A
Comments
N/A