Make sure we're passed a valid obj_entry.
This commit is contained in:
parent
cbb9288e9f
commit
eb382f8e2b
|
@ -193,7 +193,7 @@ __start(sp, cleanup, obj, ps_strings)
|
|||
* XXX If we were loaded by that loader, just abort
|
||||
* XXX the rtld setup.
|
||||
*/
|
||||
if (&_DYNAMIC != NULL && cleanup != NULL /*&& obj != NULL*/)
|
||||
if (&_DYNAMIC != NULL && cleanup != NULL && obj != NULL)
|
||||
rtld_setup(cleanup, obj);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue