summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authorjsing <>2021-10-31 06:48:54 +0000
committerjsing <>2021-10-31 06:48:54 +0000
commit106fd89cc4d7b3a4808cd5a95210d459b389b0c1 (patch)
tree670b281eab33c66e6607a6118b3d184939e5076a /src/lib/libssl/tls13_server.c
parent0ba4732e71127168e82e8de7a8ad6310016c2dc6 (diff)
downloadopenbsd-106fd89cc4d7b3a4808cd5a95210d459b389b0c1.tar.gz
openbsd-106fd89cc4d7b3a4808cd5a95210d459b389b0c1.tar.bz2
openbsd-106fd89cc4d7b3a4808cd5a95210d459b389b0c1.zip
Add explicit CBS_contains_zero_byte() check in CBS_strdup().
If the CBS data contains a zero byte, then CBS_strdup() is only going to return part of the data - add an explicit CBS_contains_zero_byte() and treat such data as an error case. ok tb@
Diffstat (limited to 'src/lib/libssl/tls13_server.c')
0 files changed, 0 insertions, 0 deletions