openssl/crypto/x509
Viktor Dukhovni a0724ef1c9 Better handling of verify param id peername field
Initialize pointers in param id by the book (explicit NULL assignment,
rather than just memset 0).

In x509_verify_param_zero() set peername to NULL after freeing it.

In x509_vfy.c's internal check_hosts(), avoid potential leak of
possibly already non-NULL peername.  This is only set when a check
succeeds, so don't need to do this repeatedly in the loop.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-02 09:53:29 -04:00
..
by_dir.c Use enum for X509_LOOKUP_TYPE 2015-05-28 12:54:27 -04:00
by_file.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
Makefile make update 2015-08-31 23:18:55 +01:00
x509_att.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_cmp.c Add X509_up_ref function. 2015-08-31 23:18:55 +01:00
x509_d2.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_def.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
x509_ext.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_lcl.h make X509_VERIFY_PARAM opaque 2015-05-02 14:15:00 +01:00
x509_lu.c Add X509_up_ref function. 2015-08-31 23:18:55 +01:00
x509_obj.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_r2x.c make X509_REQ opaque 2015-08-31 20:58:33 +01:00
x509_req.c make X509_REQ opaque 2015-08-31 20:58:33 +01:00
x509_set.c Add X509_up_ref function. 2015-08-31 23:18:55 +01:00
x509_trs.c make X509_CERT_AUX opaque 2015-08-31 20:58:33 +01:00
x509_txt.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_v3.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509_vfy.c Better handling of verify param id peername field 2015-09-02 09:53:29 -04:00
x509_vpm.c Better handling of verify param id peername field 2015-09-02 09:53:29 -04:00
x509cset.c Add X509_CRL_up_ref function 2015-08-31 23:18:54 +01:00
x509name.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509rset.c make X509_REQ opaque 2015-08-31 20:58:33 +01:00
x509spki.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x509type.c Remove Gost94 signature algorithm. 2015-08-11 18:23:29 -04:00
x_all.c make X509_REQ opaque 2015-08-31 20:58:33 +01:00
x_attrib.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
x_exten.c make X509_EXTENSION opaque 2015-03-23 18:27:04 +00:00
x_name.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00