summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/callback.c
diff options
context:
space:
mode:
authorjsing <>2021-10-31 06:48:54 +0000
committerjsing <>2021-10-31 06:48:54 +0000
commitbd06f1e8ae5fff9f6ae109217894e7f61176e903 (patch)
tree670b281eab33c66e6607a6118b3d184939e5076a /src/regress/lib/libcrypto/x509/callback.c
parent1507ec383c4225e409a40fc53eb43aec39bd4b66 (diff)
downloadopenbsd-bd06f1e8ae5fff9f6ae109217894e7f61176e903.tar.gz
openbsd-bd06f1e8ae5fff9f6ae109217894e7f61176e903.tar.bz2
openbsd-bd06f1e8ae5fff9f6ae109217894e7f61176e903.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/regress/lib/libcrypto/x509/callback.c')
0 files changed, 0 insertions, 0 deletions