summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_stat.c
diff options
context:
space:
mode:
authorjsing <>2014-06-22 14:41:10 +0000
committerjsing <>2014-06-22 14:41:10 +0000
commit0e48583e384b473bddadeed479e2ac76911814bc (patch)
treea48d59c793ed018ac1b68d77e5b9dc0708d3bc84 /src/lib/libssl/ssl_stat.c
parentfc342088a9e9234b5e22294af9d7a3b490705097 (diff)
downloadopenbsd-0e48583e384b473bddadeed479e2ac76911814bc.tar.gz
openbsd-0e48583e384b473bddadeed479e2ac76911814bc.tar.bz2
openbsd-0e48583e384b473bddadeed479e2ac76911814bc.zip
In BIO_get_port(), use strol() with appropriate range checks rather than
an atoi() followed by an unsigned short cast. This stops things like "-1" and "66536" from being considered to be "valid" port numbers. ok beck@ deraadt@
Diffstat (limited to 'src/lib/libssl/ssl_stat.c')
0 files changed, 0 insertions, 0 deletions