summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2022-08-31 09:33:39 +0000
committertb <>2022-08-31 09:33:39 +0000
commit835cf9363dd7d1a2a49eb5db9ccc62acdb54e089 (patch)
treefef18cbbf7f4eca2f4170d0c6b5d63cd06d109b0 /src/lib
parent1af840db6160c4511f1e225122056a69d23d80cd (diff)
downloadopenbsd-835cf9363dd7d1a2a49eb5db9ccc62acdb54e089.tar.gz
openbsd-835cf9363dd7d1a2a49eb5db9ccc62acdb54e089.tar.bz2
openbsd-835cf9363dd7d1a2a49eb5db9ccc62acdb54e089.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')
0 files changed, 0 insertions, 0 deletions