summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6d/util.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2012-10-21 19:00:48 +0000
committerbeck <beck@openbsd.org>2012-10-21 19:00:48 +0000
commit2d513ddd7206191726fb0862d13f941110ddaa67 (patch)
treefd33c6f3bd4918fa0b49d7fe52224da78156e81c /usr.sbin/ospf6d/util.c
parentMake sure that there is enough room in the transmit queue to send a VIO (diff)
downloadwireguard-openbsd-2d513ddd7206191726fb0862d13f941110ddaa67.tar.xz
wireguard-openbsd-2d513ddd7206191726fb0862d13f941110ddaa67.zip
Fix problem reported by Nathan Weeks <weeks@iastate.edu> where a userland
program could induce the kernel to panic by attempting to do a sempo with nsops > kern.seminfo.semume and the SEM_UNFO flag set. This fixes it so we return ENOSPC, like the man page says, rather than panicing. ok miod@, millert@
Diffstat (limited to 'usr.sbin/ospf6d/util.c')
0 files changed, 0 insertions, 0 deletions