diff options
author | tb <> | 2020-08-10 18:54:45 +0000 |
---|---|---|
committer | tb <> | 2020-08-10 18:54:45 +0000 |
commit | 0b0cb6f2e4ee8f57394fb83f25dc8aec57a8337c (patch) | |
tree | 310cdbfa4c00941624f3ec1875bdf9feb5a3352e /src/regress/lib/libssl/client/clienttest.c | |
parent | 83a0e43c1e4ba1d01aa994ce2a56e13e01d4822e (diff) | |
download | openbsd-0b0cb6f2e4ee8f57394fb83f25dc8aec57a8337c.tar.gz openbsd-0b0cb6f2e4ee8f57394fb83f25dc8aec57a8337c.tar.bz2 openbsd-0b0cb6f2e4ee8f57394fb83f25dc8aec57a8337c.zip |
Avoid passing -1 to freezero.
If a peer sends a bogus record consisting of all-zero plaintext,
the content_len would be decremented to -1 and cause a crash in
freezero.
ok inoguchi jsing
Diffstat (limited to 'src/regress/lib/libssl/client/clienttest.c')
0 files changed, 0 insertions, 0 deletions