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

git: kernel - Fix wild pointer in DDB trace


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Feb 2011 13:34:25 -0800 (PST)

commit d5b09666ded14e06fc1b9641d4e8d4e1fc181eff
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Feb 12 12:59:19 2011 -0800

    kernel - Fix wild pointer in DDB trace
    
    * Pre-initialize result fields to NULL/0 because we do not check the return
      value from linker_ddb_symbol_values().  This way if the lookup fails we
      print a nice "(null)" out instead of faulting the debugger.

Summary of changes:
 sys/ddb/db_kld.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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


-- 
DragonFly BSD source repository



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