HomeFreeBSD

Ensure 'name' is not NULL before passing to strcmp().

Description

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.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on
Parents
rS328609: Release Vladimir Kondratyev from mentorship
Branches
Unknown
Tags
Unknown