summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_init.c
diff options
context:
space:
mode:
authortobias <tobias@openbsd.org>2018-03-30 09:25:06 +0000
committertobias <tobias@openbsd.org>2018-03-30 09:25:06 +0000
commit373714ea8a88271019a6f79c34412980b9257151 (patch)
tree73df6fbef128382c28111b55505ff076366acec9 /lib/libssl/ssl_init.c
parentfix MALLOC_STATS; spotted by and ok semarie@ (diff)
downloadwireguard-openbsd-373714ea8a88271019a6f79c34412980b9257151.tar.xz
wireguard-openbsd-373714ea8a88271019a6f79c34412980b9257151.zip
Fix overflow in list value parsing.
On 64 bit systems an integer overflow between strtol and int casting could occur, resulting in out of boundary writes. Using strtonum fixes this issue and leads to better error messages. ok schwarze
Diffstat (limited to 'lib/libssl/ssl_init.c')
0 files changed, 0 insertions, 0 deletions