DragonFly BSD
DragonFly commits List (threaded) for 2012-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Francois Tigeot <ftigeot@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 Sep 2012 14:52:09 -0700 (PDT)

commit b76ffb9a8acba18fb936ba047ee5172af0512af6
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]