git: kernel - Fix wild pointer in DDB trace

看板DFBSD_commit作者時間15年前 (2011/02/13 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DLmCZFo (DFBSD_commit)