Matt Jordan
28fd06bdcd
main/rtp_engine: Fix DTLS double-free introduced by 0b6410c4f8
...
The patch in 0b6410c4f8 did correctly fix a memory leak of the DTLS
structures in the RTP engine. However, when a 'core reload' is issued, a
double free of the memory pointed to by the char *'s in the DTLS
configuration struct can occur, as ast_rtp_dtls_cfg_free does not set
the pointers to NULL when they are freed.
This patch sets those pointers to NULL, preventing a second call to
ast_rtp_dtls_cfg_free from corrupting memory.
ASTERISK-25022
Change-Id: I820471e6070a37e3c26f760118c86770e12f6115
2015-04-29 16:36:24 -05:00
..
2015-04-12 13:59:44 -05:00
2015-03-30 02:28:47 +00:00
2015-04-12 13:49:40 -05:00
2014-11-02 07:35:36 +00:00
2014-11-20 16:35:18 +00:00
2014-05-09 22:28:40 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:16:31 +00:00
2014-11-02 08:03:18 +00:00
2012-07-11 17:16:50 +00:00
2012-04-17 18:57:40 +00:00
2012-07-11 17:16:50 +00:00
2012-03-24 02:42:42 +00:00
2012-07-11 17:16:50 +00:00
2015-04-12 20:04:11 -05:00
2013-08-22 08:22:39 +00:00
2015-03-26 22:16:31 +00:00
2015-03-26 22:16:31 +00:00
2015-03-27 07:06:24 +00:00
2015-03-12 12:57:03 +00:00
2012-06-15 16:20:16 +00:00
2014-06-09 03:47:11 +00:00
2014-11-20 14:20:08 +00:00
2014-10-10 12:55:56 +00:00
2015-04-06 18:58:30 +00:00
2013-08-06 08:19:42 +00:00
2015-04-09 12:47:09 +00:00
2015-04-21 16:17:33 -04:00
2015-04-10 16:25:13 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:16:31 +00:00
2014-05-09 22:28:40 +00:00
2015-03-26 22:16:31 +00:00
2012-03-22 19:51:16 +00:00
2015-03-26 22:16:31 +00:00
2012-06-15 16:20:16 +00:00
2014-06-16 09:00:18 +00:00
2014-05-09 22:28:40 +00:00
2013-02-05 18:10:46 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:16:31 +00:00
2015-04-06 18:58:30 +00:00
2012-03-22 19:51:16 +00:00
2015-04-09 12:47:09 +00:00
2015-04-23 11:54:09 -05:00
2015-03-26 22:16:31 +00:00
2015-03-26 22:16:31 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2013-03-27 19:51:29 +00:00
2015-03-26 22:16:31 +00:00
2015-03-14 02:27:13 +00:00
2015-04-06 17:51:59 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 17:56:56 +00:00
2015-03-26 22:16:31 +00:00
2015-03-26 22:16:31 +00:00
2015-04-09 12:47:09 +00:00
2014-05-09 22:28:40 +00:00
2015-03-30 02:44:21 +00:00
2012-09-14 19:50:40 +00:00
2012-01-30 21:21:16 +00:00
2015-02-21 02:55:26 +00:00
2014-12-12 23:31:38 +00:00
2015-03-27 07:06:24 +00:00
2015-03-30 11:40:33 +00:00
2015-04-12 20:04:11 -05:00
2012-04-28 01:33:49 +00:00
2015-03-26 22:16:31 +00:00
2015-03-26 22:16:31 +00:00
2015-03-17 21:43:32 +00:00
2014-12-17 09:24:50 +00:00
2015-04-19 15:49:43 -05:00
2012-06-15 16:20:16 +00:00
2015-04-09 12:47:09 +00:00
2012-06-15 16:20:16 +00:00
2015-04-29 16:36:24 -05:00
2014-03-26 22:44:11 +00:00
2015-02-19 01:59:05 +00:00
2015-04-23 11:54:09 -05:00
2012-03-22 19:51:16 +00:00
2012-10-11 15:31:10 +00:00
2014-05-09 22:28:40 +00:00
2012-06-15 16:20:16 +00:00
2013-01-19 20:49:43 +00:00
2015-03-27 07:06:24 +00:00
2015-03-26 22:16:31 +00:00
2015-01-12 18:00:24 +00:00
2015-03-26 22:16:31 +00:00
2015-04-08 16:11:53 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:16:31 +00:00
2015-03-26 22:16:31 +00:00
2015-03-26 22:16:31 +00:00
2015-04-10 16:25:13 +00:00
2015-04-09 12:47:09 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:16:31 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:16:31 +00:00