diff options
author | tb <> | 2022-05-16 20:41:24 +0000 |
---|---|---|
committer | tb <> | 2022-05-16 20:41:24 +0000 |
commit | 4afd1ca3084c62249622d1a8baa32b9e0232712e (patch) | |
tree | 7a75d8652b4b012bd3e13746ca4598434325ae7a /src/lib/libc/stdlib/system.c | |
parent | 099e71940fb5dfd26306132403ccd056f392028b (diff) | |
download | openbsd-4afd1ca3084c62249622d1a8baa32b9e0232712e.tar.gz openbsd-4afd1ca3084c62249622d1a8baa32b9e0232712e.tar.bz2 openbsd-4afd1ca3084c62249622d1a8baa32b9e0232712e.zip |
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 'src/lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions