diff options
author | 2012-12-31 06:44:11 +0000 | |
---|---|---|
committer | 2012-12-31 06:44:11 +0000 | |
commit | a1323d9afd4a4eb9fbded58f7f932ac790459173 (patch) | |
tree | 62db1432d87fa7d8d87c5929c87230b6f68b89c8 /lib/libc | |
parent | Declare ucom as a DV_TTY class device, not DV_DULL; Alexander Polakov (diff) | |
download | wireguard-openbsd-a1323d9afd4a4eb9fbded58f7f932ac790459173.tar.xz wireguard-openbsd-a1323d9afd4a4eb9fbded58f7f932ac790459173.zip |
Eliminate orig_errno, which could be uninitialized in one case, by doing
the emulation errno mapping directly into the register in the trapframe.
Range check the value in that case to guarantee there isn't an out-of-bounds
array access.
Uninitialized variable issue pointed out by David Hill. Range check
suggested by matthew@
ok miod@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions