diff options
author | Danil Zagoskin <[email protected]> | 2014-04-20 02:25:42 +0400 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-04-23 15:59:10 +0200 |
commit | abb5c21e25343139e47559dbf9a22d099f97154f (patch) | |
tree | ae2ee950ef7b627f09ce3e28f37f7b54dc3f4819 /lib/public_key/test | |
parent | 081ee510f1fb1d821a524bd6b8efd20e520add3c (diff) | |
download | otp-abb5c21e25343139e47559dbf9a22d099f97154f.tar.gz otp-abb5c21e25343139e47559dbf9a22d099f97154f.tar.bz2 otp-abb5c21e25343139e47559dbf9a22d099f97154f.zip |
ssl: Fix crash on garbage during handshake
If a client sends some garbage in ssl record instead of
valid fragment, server crashes with function_clause while
receiving next record from client.
This patch makes server raise handshake failure instead of
crashing and exposing internal state to user code.
Diffstat (limited to 'lib/public_key/test')
0 files changed, 0 insertions, 0 deletions