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