]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r239470: Do not call process_nodelete with NULL object pointer.
authorkan <kan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Aug 2012 23:47:24 +0000 (23:47 +0000)
committerkan <kan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Aug 2012 23:47:24 +0000 (23:47 +0000)
commitdc8e8b2f1451fba28b0f4b06e26ba1feacb54ef1
treea4c907f506ce8409db296f4566fdcd00f3889826
parentd303541263978fcf3dd627ab8a12da8d3fd54a6f
MFC r239470: Do not call process_nodelete with NULL object pointer.

The place where the function is called can be reached if object loading
and relocation fails too, in which case obj pointer will be NULL. Do not
call process_nodelete then, or crash will follow.

Pointy hat to: kan

git-svn-id: svn://svn.freebsd.org/base/stable/9@239471 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/rtld-elf/rtld.c