summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/stack
diff options
context:
space:
mode:
authortb <>2022-08-31 09:33:39 +0000
committertb <>2022-08-31 09:33:39 +0000
commit930d54255bfdd0fb3c4b37e000776df804351f84 (patch)
treefef18cbbf7f4eca2f4170d0c6b5d63cd06d109b0 /src/lib/libcrypto/stack
parentd232bd6af93b87abffb31bf680b072890c17f61d (diff)
downloadopenbsd-930d54255bfdd0fb3c4b37e000776df804351f84.tar.gz
openbsd-930d54255bfdd0fb3c4b37e000776df804351f84.tar.bz2
openbsd-930d54255bfdd0fb3c4b37e000776df804351f84.zip
Avoid some buffer overflows in ecdsatest
The ASN.1 encoding of the modified ECDSA signature can grow in size due to padding of the ASN.1 integers. Instead of reusing the same signature buffer freshly allocate it. Avoids some buffer overflows caught by ASAN.
Diffstat (limited to 'src/lib/libcrypto/stack')
0 files changed, 0 insertions, 0 deletions