summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authorjsing <>2019-02-03 14:03:46 +0000
committerjsing <>2019-02-03 14:03:46 +0000
commit9f38d897227cb5fcb751777593a0744c0b2cd53b (patch)
treeadcffb215d0bdcd00ad0e1a177241b3e00738ce0 /src/lib/libssl/tls13_handshake.c
parente0375656bbc45c3a5999d46bd6fa6ec5f051a77b (diff)
downloadopenbsd-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_handshake.c')
0 files changed, 0 insertions, 0 deletions