summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/asn1basic.c
diff options
context:
space:
mode:
authorschwarze <>2021-12-09 15:28:58 +0000
committerschwarze <>2021-12-09 15:28:58 +0000
commitc372cb226df91de2bb6681d3cbd59227d8b06268 (patch)
treebab4eb64e77f673c68011a68feb72fd8085d5606 /src/regress/lib/libcrypto/asn1/asn1basic.c
parentbc9c07cfafa32d8ca950bec3fbcfb549b72962ff (diff)
downloadopenbsd-c372cb226df91de2bb6681d3cbd59227d8b06268.tar.gz
openbsd-c372cb226df91de2bb6681d3cbd59227d8b06268.tar.bz2
openbsd-c372cb226df91de2bb6681d3cbd59227d8b06268.zip
Fix an issue that might possibly turn into a DOS depending on
how application software uses the API function BIO_indent(3): If the caller asks for some output, but not more than some negative number of bytes, give them zero bytes of output rather than drowning them in nearly INT_MAX bytes. OK tb@
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/asn1basic.c')
0 files changed, 0 insertions, 0 deletions