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-14 01:17:45 +02:00
2015-08-31 16:04:39 -04:00
2015-06-16 13:13:48 +02:00
2015-08-12 14:12:02 +01:00
2015-07-31 11:08:41 -04:00
2015-08-31 13:46:30 -04:00
2015-08-12 14:14:01 +01:00
2015-07-14 01:17:45 +02:00
2015-02-24 10:12:57 +01:00
2015-08-28 11:59:23 -04:00
2015-07-14 01:17:45 +02:00
2015-09-01 20:02:54 +02:00
2015-07-14 01:17:45 +02:00
2015-06-23 08:04:19 -04:00
2015-07-14 01:17:45 +02:00
2015-07-14 01:17:45 +02:00
2011-08-12 12:31:08 +00:00
2014-06-10 23:20:55 +02:00
2015-02-09 13:01:15 +00:00
2015-04-22 17:20:38 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-07-09 13:18:51 +01:00
2015-08-05 22:06:22 -04:00
2015-07-14 01:17:45 +02:00
2015-01-22 09:31:38 +00:00