diff options
author | tb <> | 2022-11-28 07:22:15 +0000 |
---|---|---|
committer | tb <> | 2022-11-28 07:22:15 +0000 |
commit | 4eccf1715855e95020641b0b70e41a649ac9833c (patch) | |
tree | 27982dc03cac15781d7370c22b32454ee86cc0e0 /src/lib/libcrypto/bio/bio_lib.c | |
parent | 151f2debf96f63c5ef7e796543e20bb654c1b754 (diff) | |
download | openbsd-4eccf1715855e95020641b0b70e41a649ac9833c.tar.gz openbsd-4eccf1715855e95020641b0b70e41a649ac9833c.tar.bz2 openbsd-4eccf1715855e95020641b0b70e41a649ac9833c.zip |
Fix NULL dereference in x509_constraints_uri_host()
When called from v2i, hostpart in x509_constraints_uri_host() is NULL, so
add a NULL check before storing the strdup result in it.
From Anton Borowka
ok jsing miod
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
0 files changed, 0 insertions, 0 deletions