diff options
author | jsing <> | 2019-02-03 14:03:46 +0000 |
---|---|---|
committer | jsing <> | 2019-02-03 14:03:46 +0000 |
commit | 9f38d897227cb5fcb751777593a0744c0b2cd53b (patch) | |
tree | adcffb215d0bdcd00ad0e1a177241b3e00738ce0 /src/lib/libssl/tls13_client.c | |
parent | e0375656bbc45c3a5999d46bd6fa6ec5f051a77b (diff) | |
download | openbsd-9f38d897227cb5fcb751777593a0744c0b2cd53b.tar.gz openbsd-9f38d897227cb5fcb751777593a0744c0b2cd53b.tar.bz2 openbsd-9f38d897227cb5fcb751777593a0744c0b2cd53b.zip |
Use malloc() and memcpy() the test X25519 x25519_peer_public value.
Otherwise, if tlsext_keyshare_server_build() fails we call free with a
pointer to static memory and bad things happen.
Reported by bcook@
Diffstat (limited to 'src/lib/libssl/tls13_client.c')
0 files changed, 0 insertions, 0 deletions