diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-03 23:11:27 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-03 23:13:27 +0100 |
commit | 3f6db7e15631f277beab72e9fe15772b4991dae1 (patch) | |
tree | 0e5eacbb342f13a981c028172f47c17358e1e983 /tests/x509cert.c | |
parent | f8649d94f9da479a8f27c19dd9aac43c08d26088 (diff) | |
download | gnutls-3f6db7e15631f277beab72e9fe15772b4991dae1.tar.gz |
gnutls_pkcs11_obj_list_import_url4: always return an initialized pointer
When returning success, but no elements, gnutls_pkcs11_obj_list_import_url4,
could have returned zero number of elements with a pointer that was uninitialized.
Ensure that an initialized (i.e., null in that case), pointer is always returned.
Reported by Jeremy Harris.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/x509cert.c')
0 files changed, 0 insertions, 0 deletions