Adam Langley 4985007555 Avoid double free when processing DTLS packets.
The |item| variable, in both of these cases, may contain a pointer to a
|pitem| structure within |s->d1->buffered_messages|. It was being freed
in the error case while still being in |buffered_messages|. When the
error later caused the |SSL*| to be destroyed, the item would be double
freed.

Thanks to Wah-Teh Chang for spotting that the fix in 1632ef74 was
inconsistent with the other error paths (but correct).

Fixes CVE-2014-3505

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2014-08-06 20:41:23 +01:00
..
2012-04-16 17:43:02 +00:00
2013-10-30 14:37:22 +00:00
2013-09-18 13:46:02 +01:00
2013-09-18 13:46:02 +01:00
2009-04-21 22:20:12 +00:00
2014-02-26 15:33:10 +00:00
2014-08-01 21:21:03 +01:00
2013-02-06 13:56:12 +00:00
2014-06-09 12:09:51 +01:00
2013-02-06 13:56:12 +00:00
2014-01-07 15:41:11 +00:00
2014-07-04 13:42:05 +01:00
2014-06-09 12:09:51 +01:00
2014-07-05 23:57:28 +02:00
2014-07-04 13:42:05 +01:00
2002-07-10 07:01:54 +00:00
2011-11-21 22:52:01 +00:00
2014-07-04 13:42:05 +01:00
2014-06-10 14:59:10 +01:00
2014-07-04 13:42:05 +01:00
2014-07-04 13:42:05 +01:00
2014-02-08 16:19:30 -08:00
2014-07-04 13:42:05 +01:00
2013-09-18 13:46:02 +01:00
2014-07-24 19:42:26 +01:00
2014-07-04 13:42:05 +01:00
2014-07-02 00:09:39 +01:00
2009-12-27 22:59:09 +00:00
2014-07-04 13:42:05 +01:00