summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/readconf.c
diff options
context:
space:
mode:
authorstefan <stefan@openbsd.org>2016-07-14 16:23:49 +0000
committerstefan <stefan@openbsd.org>2016-07-14 16:23:49 +0000
commitd674b59e530355c17c0d99afcd9786581927042c (patch)
tree3be2e7ebf26b03a2464dc0fb6e2564bea3b2087d /usr.bin/ssh/readconf.c
parentsync (diff)
downloadwireguard-openbsd-d674b59e530355c17c0d99afcd9786581927042c.tar.xz
wireguard-openbsd-d674b59e530355c17c0d99afcd9786581927042c.zip
Make sure that amap slot calculation does not overflow
This prevents from too small amaps being allocated by forcing the allocation of a large number of slots. Based on an analysis from Jesse Hertz and Tim Newsham. ok kettenis@
Diffstat (limited to 'usr.bin/ssh/readconf.c')
0 files changed, 0 insertions, 0 deletions