OpenSolaris

Printable Version Enter a New Search
Bug ID 6466818
Synopsis lx_getpid() may inadvertently dereference a NULL pointer
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords
Responsible Engineer Nils Nieuwejaar
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_50
Fixed In snv_50
Release Fixed solaris_nevada(snv_50) , solaris_10u4(s10u4_01) (Bug ID:2144905)
Related Bugs 6409350
Submit Date 2-September-2006
Last Update Date 19-January-2007
Description
The code in lx_getpid() dereferences the results of ttolxlwp() without checking
whether the call returned NULL.

This could result in a panic if a NULL pointer is dereferenced.

Note this panic has never been seen, and the routine should never return NULL,
it's simply a theoretical bug found by inspection.
Work Around
N/A
Comments
N/A