git: kernel - Fix wild pointer in DDB trace
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Feb 12 13:36:15 PST 2011
commit d5b09666ded14e06fc1b9641d4e8d4e1fc181eff
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list