|
Description
|
In smb_smf_create_service_pgroup() we have the following code:
/*
* only create a handle if it doesn't exist. It is ok to exist
* since the pg handle will be set as a side effect.
*/
if (handle->scf_pg == NULL)
handle->scf_pg = scf_pg_create(handle->scf_handle);
We never check that scf_pg_create() succeeded, and we end up dying
horribly later on when we try to use the NULL pointer.
|