diff options
author | inoguchi <> | 2020-02-16 14:33:04 +0000 |
---|---|---|
committer | inoguchi <> | 2020-02-16 14:33:04 +0000 |
commit | fa0b5b94cc25e2b4dd64fd2788b5be80ec542d59 (patch) | |
tree | f023f730f4ae140e3bfd6e4295d7d6357d17fbf5 /src/lib/libssl/tls13_buffer.c | |
parent | facbfa56f3358d503aff3e7bd6136e5589043c37 (diff) | |
download | openbsd-fa0b5b94cc25e2b4dd64fd2788b5be80ec542d59.tar.gz openbsd-fa0b5b94cc25e2b4dd64fd2788b5be80ec542d59.tar.bz2 openbsd-fa0b5b94cc25e2b4dd64fd2788b5be80ec542d59.zip |
Avoid leak for tmp.x25519
Changed to use local variable to hold malloc address rather than directly
set to S3I(s)->tmp.x25519, and set that private_key pointer to
S3I(s)->tmp.x25519 after all the "goto err;".
Also added freezero for S3I(s)->tmp.x25519 to ssl3_free() and ssl3_clear().
ok jsing@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_buffer.c')
0 files changed, 0 insertions, 0 deletions