summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_buffer.c
diff options
context:
space:
mode:
authorinoguchi <>2020-02-16 14:33:04 +0000
committerinoguchi <>2020-02-16 14:33:04 +0000
commitfa0b5b94cc25e2b4dd64fd2788b5be80ec542d59 (patch)
treef023f730f4ae140e3bfd6e4295d7d6357d17fbf5 /src/lib/libssl/tls13_buffer.c
parentfacbfa56f3358d503aff3e7bd6136e5589043c37 (diff)
downloadopenbsd-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