Make sure we're passed a valid obj_entry.

This commit is contained in:
thorpej 1997-08-24 18:11:23 +00:00
parent cbb9288e9f
commit eb382f8e2b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}