diff options
author | 2016-07-14 16:23:49 +0000 | |
---|---|---|
committer | 2016-07-14 16:23:49 +0000 | |
commit | d674b59e530355c17c0d99afcd9786581927042c (patch) | |
tree | 3be2e7ebf26b03a2464dc0fb6e2564bea3b2087d /usr.bin/ssh/readconf.c | |
parent | sync (diff) | |
download | wireguard-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