diff options
author | jsing <> | 2021-10-31 06:48:54 +0000 |
---|---|---|
committer | jsing <> | 2021-10-31 06:48:54 +0000 |
commit | 106fd89cc4d7b3a4808cd5a95210d459b389b0c1 (patch) | |
tree | 670b281eab33c66e6607a6118b3d184939e5076a /src/lib/libssl/tls13_server.c | |
parent | 0ba4732e71127168e82e8de7a8ad6310016c2dc6 (diff) | |
download | openbsd-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