diff options
author | tb <> | 2020-08-10 18:54:45 +0000 |
---|---|---|
committer | tb <> | 2020-08-10 18:54:45 +0000 |
commit | 55b6a21da868aab452ada812637f6ab4e1dc8974 (patch) | |
tree | 310cdbfa4c00941624f3ec1875bdf9feb5a3352e /src/regress/lib/libssl/client/clienttest.c | |
parent | f7a3bcd050b34ddcb4d801a9c00fb913f5266db3 (diff) | |
download | openbsd-55b6a21da868aab452ada812637f6ab4e1dc8974.tar.gz openbsd-55b6a21da868aab452ada812637f6ab4e1dc8974.tar.bz2 openbsd-55b6a21da868aab452ada812637f6ab4e1dc8974.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