summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer/buf_str.c
diff options
context:
space:
mode:
authortb <>2021-07-26 16:54:20 +0000
committertb <>2021-07-26 16:54:20 +0000
commitd451f46105c4e36fe5a7fd74ba8e22091d8511dd (patch)
tree8a8b8dbe3ecf8948e1ce068f648ca318908d25af /src/lib/libcrypto/buffer/buf_str.c
parent16127e073d857232a7bbf8c55c0078b86c6a86a4 (diff)
downloadopenbsd-d451f46105c4e36fe5a7fd74ba8e22091d8511dd.tar.gz
openbsd-d451f46105c4e36fe5a7fd74ba8e22091d8511dd.tar.bz2
openbsd-d451f46105c4e36fe5a7fd74ba8e22091d8511dd.zip
Add error checks for i2d_X509_NAME()
This avoids potential malloc(-1) and malloc(0), spotted by schwarze while documenting X509_ocspid_print(). ok schwarze
Diffstat (limited to 'src/lib/libcrypto/buffer/buf_str.c')
0 files changed, 0 insertions, 0 deletions