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
..
2015-05-28 12:54:27 -04:00
2015-08-31 23:18:55 +01:00
2015-08-31 23:18:55 +01:00
2015-05-02 14:15:00 +01:00
2015-08-31 23:18:55 +01:00
2015-08-31 20:58:33 +01:00
2015-08-31 20:58:33 +01:00
2015-08-31 23:18:55 +01:00
2015-08-31 20:58:33 +01:00
2015-08-31 23:18:54 +01:00
2015-08-31 20:58:33 +01:00
2015-08-11 18:23:29 -04:00
2015-08-31 20:58:33 +01:00
2015-03-23 18:27:04 +00:00