]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 328610: Ensure 'name' is not NULL before passing to strcmp().
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 28 Feb 2018 22:33:07 +0000 (22:33 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 28 Feb 2018 22:33:07 +0000 (22:33 +0000)
commit0d018fa36e087bfc8d9121a20024a5b0043f0896
treefe2680d4905cccc76a2e9dccfe670685548f7529
parent6334ab7e03cf333b43c256ae587a8758e38c095f
MFC 328610: Ensure 'name' is not NULL before passing to strcmp().

This avoids a nested page fault when obtaining a stack trace in DDB if
the address from the first frame does not resolve to a known symbol.

git-svn-id: svn://svn.freebsd.org/base/stable/10@330132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/db_trace.c