diff options
author | 2018-03-30 09:25:06 +0000 | |
---|---|---|
committer | 2018-03-30 09:25:06 +0000 | |
commit | 373714ea8a88271019a6f79c34412980b9257151 (patch) | |
tree | 73df6fbef128382c28111b55505ff076366acec9 /lib/libssl/ssl_init.c | |
parent | fix MALLOC_STATS; spotted by and ok semarie@ (diff) | |
download | wireguard-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