diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-16 20:41:25 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-16 20:41:25 +0000 |
commit | 09116d38cd86d822114b462d9dab4c7f60aa7f74 (patch) | |
tree | d594e139d67f298a4eaf8eeea018b8a0c32813a3 /lib/libcrypto/curve25519/curve25519.h | |
parent | 7de47ae75320d6c813970aa771d3cdc93b9d5ae7 (diff) |
Avoid use of uninitialized in ASN1_STRING_to_UTF8()
A long standing failure to initialize a struct on the stack fully was
exposed by a recent refactoring. Fortunately, the uninitialized 'flag'
member is only used to decide whether or not to call freezero(NULL, 0),
so it is completely harmless. This is a first trivial fix, a better
version will be landed separately with regress.
Reported by Steffen Jaeckel, GH #760
ok beck
Diffstat (limited to 'lib/libcrypto/curve25519/curve25519.h')
0 files changed, 0 insertions, 0 deletions