diff options
author | tb <> | 2022-11-28 07:22:15 +0000 |
---|---|---|
committer | tb <> | 2022-11-28 07:22:15 +0000 |
commit | 1b77f019fce5ce3f0dc81905cc3905e1f4fc2ba3 (patch) | |
tree | 27982dc03cac15781d7370c22b32454ee86cc0e0 /src/regress/lib/libcrypto/cms/cmstest.c | |
parent | 7d6ea40c9e0e0897e7765f0607c1ab1f57aa70e0 (diff) | |
download | openbsd-1b77f019fce5ce3f0dc81905cc3905e1f4fc2ba3.tar.gz openbsd-1b77f019fce5ce3f0dc81905cc3905e1f4fc2ba3.tar.bz2 openbsd-1b77f019fce5ce3f0dc81905cc3905e1f4fc2ba3.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/regress/lib/libcrypto/cms/cmstest.c')
0 files changed, 0 insertions, 0 deletions