summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c
diff options
context:
space:
mode:
authortb <>2022-05-16 20:41:24 +0000
committertb <>2022-05-16 20:41:24 +0000
commit9d6ef43f022edfa4ee989dd7861fa804f2c9b61e (patch)
tree7a75d8652b4b012bd3e13746ca4598434325ae7a /src/lib/libc/stdlib/system.c
parent4d98507bd8898b13bbd0d1ab339f3d35695e06a9 (diff)
downloadopenbsd-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/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions