summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-04-25 18:24:39 +0000
committeranton <anton@openbsd.org>2019-04-25 18:24:39 +0000
commit1af424413523def22e951be1ceae002dce308768 (patch)
tree65c2c6a280ab59b0aafacd4ed8b65ab4a2c043d4 /lib
parentMake options_tostring allocate its result instead of using a stack (diff)
downloadwireguard-openbsd-1af424413523def22e951be1ceae002dce308768.tar.xz
wireguard-openbsd-1af424413523def22e951be1ceae002dce308768.zip
Lower the accepted upper bound for bd_rtout to INT_MAX in order to
prevent passing negative values to timeout_add(). While here, protect against unsigned wrap around during addition of bd_rdStart and bd_rtout since it could also cause passing negative values to timeout_add(). ok bluhm@ Reported-by: syzbot+6771e3d6d9567b3983aa@syzkaller.appspotmail.com
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions