Fix NULL dereference which allows user programs to read parts
authortobhe <tobhe@openbsd.org>
Fri, 21 Jan 2022 14:07:06 +0000 (14:07 +0000)
committertobhe <tobhe@openbsd.org>
Fri, 21 Jan 2022 14:07:06 +0000 (14:07 +0000)
commit2b183ca97f861a11598ca833fea167bf6089417a
tree1519ccd1895ae5296270e37c4116b791d99f2940
parentdedfcf240cbf1f6e5e43767d9155d5605d12a242
Fix NULL dereference which allows user programs to read parts
of the kernel memory.  Found with clang static analyzer.

Feedback and ok gkoehler@
ok bluhm@
sys/arch/powerpc/powerpc/trap.c