diff options
| author | tb <> | 2026-09-02 07:03:45 +0000 |
|---|---|---|
| committer | tb <> | 2026-09-02 07:03:45 +0000 |
| commit | b461e281f39ad206a28fb0dc69cfbbbd67c6303c (patch) | |
| tree | 2a4a75be81bef999bdca707f7e7b3b0e77d4c857 /src/lib/libc/string/wcslcpy.c | |
| parent | 08df5d1bf00257e8cf066d2045cf24ecf2744efb (diff) | |
| download | openbsd-b461e281f39ad206a28fb0dc69cfbbbd67c6303c.tar.gz openbsd-b461e281f39ad206a28fb0dc69cfbbbd67c6303c.tar.bz2 openbsd-b461e281f39ad206a28fb0dc69cfbbbd67c6303c.zip | |
asn1_multi: plug leak if sk_ASN1_TYPE_push() fails
If the push of typ onto sk fails, the exit path does not free it.
Fix that and avoid function nesting when calling ASN1_generate_v3().
Prompted by a similar fix in OpenSSL
ok kenjiro
Diffstat (limited to 'src/lib/libc/string/wcslcpy.c')
0 files changed, 0 insertions, 0 deletions
