diff options
author | jsing <> | 2014-06-22 14:41:10 +0000 |
---|---|---|
committer | jsing <> | 2014-06-22 14:41:10 +0000 |
commit | 960a8f081914b4238bec3ed7791e4fdaf81ab7a1 (patch) | |
tree | a48d59c793ed018ac1b68d77e5b9dc0708d3bc84 /src/lib/libssl/ssl_rsa.c | |
parent | 440ff25a446d028b864136cc92f0469572b7d187 (diff) | |
download | openbsd-960a8f081914b4238bec3ed7791e4fdaf81ab7a1.tar.gz openbsd-960a8f081914b4238bec3ed7791e4fdaf81ab7a1.tar.bz2 openbsd-960a8f081914b4238bec3ed7791e4fdaf81ab7a1.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_rsa.c')
0 files changed, 0 insertions, 0 deletions