git: rtld: Don't call process_nodelete with NULL object pointer

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Sep 15 14:52:09 PDT 2012


commit b76ffb9a8acba18fb936ba047ee5172af0512af6
Author: John Marino <draco at marino.st>
Date:   Sat Sep 15 23:36:39 2012 +0200

    rtld: Don't call process_nodelete with NULL object pointer
    
    If object loading and relocation fail, the obj pointer will be NULL when
    then process_nodelete function is reached.  A crash will occur if the
    function is called with a null pointer, so ensure that it doesn't.
    
    Taken-from: FreeBSD SVN 239470 (20 Aug 2012)

Summary of changes:
 libexec/rtld-elf/rtld.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b76ffb9a8acba18fb936ba047ee5172af0512af6


-- 
DragonFly BSD source repository


More information about the Commits mailing list