Viktor Dukhovni 39c76ceb2d 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>

(cherry picked from commit a0724ef1c9b9e2090bdd96b784f492b6a3952957)
2015-09-02 10:01:23 -04:00
..
2015-07-07 21:48:55 +01:00
2015-07-07 21:48:55 +01:00
2015-05-13 12:55:03 -04:00
2015-03-02 15:26:41 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00