summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-12-31 06:44:11 +0000
committerguenther <guenther@openbsd.org>2012-12-31 06:44:11 +0000
commita1323d9afd4a4eb9fbded58f7f932ac790459173 (patch)
tree62db1432d87fa7d8d87c5929c87230b6f68b89c8 /lib/libc
parentDeclare ucom as a DV_TTY class device, not DV_DULL; Alexander Polakov (diff)
downloadwireguard-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