summaryrefslogtreecommitdiff
path: root/usr.bin/doas
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-01-04 15:25:06 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-01-04 15:25:06 +0000
commitb307281eae253ee3db05bb49e2fcb464bd2f257b (patch)
treef5350457c3025011f3f4551f38dd517b706d2f35 /usr.bin/doas
parentf7d57ec9f00a1ae4490f0358933edf7d3d04ad55 (diff)
Try to handle possible vm_register() failures and return an error back
to the caller instead of most probably crashing because of a NULL pointer access. This fixes also another -Wunused-but-set-variable warning. OK benno@ dv@
Diffstat (limited to 'usr.bin/doas')
0 files changed, 0 insertions, 0 deletions