summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_err.c
diff options
context:
space:
mode:
authortb <>2022-08-31 09:38:00 +0000
committertb <>2022-08-31 09:38:00 +0000
commit56edcd3374149e6c27331d45ead6cc4c1203ebfd (patch)
treec482a5a120451128fbb0aa6a9935144533c51ef0 /src/lib/libcrypto/ecdsa/ecs_err.c
parent2ea7b919ed36546cd8ec29340a05dbda20a563cd (diff)
downloadopenbsd-56edcd3374149e6c27331d45ead6cc4c1203ebfd.tar.gz
openbsd-56edcd3374149e6c27331d45ead6cc4c1203ebfd.tar.bz2
openbsd-56edcd3374149e6c27331d45ead6cc4c1203ebfd.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/ecdsa/ecs_err.c')
0 files changed, 0 insertions, 0 deletions