diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-09-14 09:11:28 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2019-09-14 09:11:28 +1000 |
commit | 88d870824f1f913877f0f978ae60879575daf56d (patch) | |
tree | bb9ff1ff79206a613848c95418632641ef6d4ff8 /test | |
parent | b4570683608a9a349aae20bfa13270cd2b5bee1d (diff) |
Fix S390X bad size_t that causes memory trash in legacy ciphers
This caused a SEGV inside tls13_enc() when using chacha_poly.
The tls code assigns the iv_length to a size_t (even though it is an int).
This is actually really bad since it could be -1, which will then trash the iv buffer.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9890)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions