kernel - Fix wild pointer in DDB trace
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Feb 2011 20:59:19 +0000 (12:59 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Feb 2011 20:59:19 +0000 (12:59 -0800)
commitd5b09666ded14e06fc1b9641d4e8d4e1fc181eff
tree8df660d5dc23834ee16e7b464f9b195c712dffdf
parent8582ec21c73abb71e84b8e5e996bcd6c8fdfbf38
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.
sys/ddb/db_kld.c