summaryrefslogtreecommitdiff
path: root/lib/libcrypto/lhash
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-05-16 20:41:25 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-05-16 20:41:25 +0000
commit09116d38cd86d822114b462d9dab4c7f60aa7f74 (patch)
treed594e139d67f298a4eaf8eeea018b8a0c32813a3 /lib/libcrypto/lhash
parent7de47ae75320d6c813970aa771d3cdc93b9d5ae7 (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/lhash')
0 files changed, 0 insertions, 0 deletions