diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-01-04 15:25:06 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-01-04 15:25:06 +0000 |
commit | b307281eae253ee3db05bb49e2fcb464bd2f257b (patch) | |
tree | f5350457c3025011f3f4551f38dd517b706d2f35 /usr.bin/doas | |
parent | f7d57ec9f00a1ae4490f0358933edf7d3d04ad55 (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