diff options
author | tb <> | 2022-08-31 09:33:39 +0000 |
---|---|---|
committer | tb <> | 2022-08-31 09:33:39 +0000 |
commit | 835cf9363dd7d1a2a49eb5db9ccc62acdb54e089 (patch) | |
tree | fef18cbbf7f4eca2f4170d0c6b5d63cd06d109b0 /src/lib | |
parent | 1af840db6160c4511f1e225122056a69d23d80cd (diff) | |
download | openbsd-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