Matt Jordan
d4e207e27e
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:25:16 -05:00
..
2015-04-12 13:58:49 -05:00
2015-03-30 02:29:10 +00:00
2015-04-12 13:48:10 -05:00
2014-11-02 07:39:36 +00:00
2014-11-20 16:36:54 +00:00
2014-05-09 22:49:26 +00:00
2012-06-15 16:20:16 +00:00
2015-03-26 22:19:21 +00:00
2015-04-09 12:56:30 +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-09-21 17:14:59 +00:00
2015-04-13 06:36:11 -05:00
2014-04-23 15:02:39 +00:00
2013-08-22 08:26:55 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2014-06-20 15:27:43 +00:00
2015-04-22 20:44:56 -04:00
2015-04-22 20:44:56 -04:00
2014-06-20 15:27:43 +00:00
2015-04-22 20:44:56 -04:00
2015-03-27 07:09:26 +00:00
2015-03-12 12:58:11 +00:00
2012-06-15 16:20:16 +00:00
2014-06-09 03:50:45 +00:00
2013-08-23 18:07:40 +00:00
2015-01-30 16:47:50 +00:00
2015-01-05 22:49:40 +00:00
2015-04-07 15:21:17 +00:00
2013-08-05 16:59:13 +00:00
2015-04-16 15:38:07 -05:00
2015-03-25 18:37:04 +00:00
2014-10-10 13:01:41 +00:00
2015-04-17 15:57:10 -05:00
2015-03-22 23:58:23 +00:00
2015-04-09 12:56:30 +00:00
2015-04-21 15:36:13 -05:00
2015-04-17 15:57:10 -05:00
2014-10-09 17:45:23 +00:00
2015-03-26 22:19:21 +00:00
2015-03-17 22:15:09 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-28 12:19:53 +00:00
2015-03-26 23:07:15 +00:00
2014-10-17 02:41:34 +00:00
2013-07-04 13:06:15 +00:00
2012-03-22 19:51:16 +00:00
2015-03-26 22:19:21 +00:00
2013-06-29 00:18:57 +00:00
2015-01-09 17:54:49 +00:00
2014-09-05 17:36:35 +00:00
2015-04-17 15:57:10 -05:00
2014-08-21 14:52:06 +00:00
2015-03-26 22:19:21 +00:00
2015-04-10 17:53:44 +00:00
2012-03-22 19:51:16 +00:00
2015-04-17 15:31:14 -05:00
2015-04-09 12:56:30 +00:00
2015-04-23 18:26:55 +02:00
2014-11-17 16:51:16 +00:00
2015-04-17 15:57:10 -05:00
2015-03-26 22:19:21 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2015-04-08 16:23:00 +00:00
2015-03-14 02:28:56 +00:00
2014-08-07 18:51:16 +00:00
2015-04-06 16:02:09 +00:00
2014-07-20 22:06:33 +00:00
2015-04-06 17:52:13 +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
2015-04-17 15:57:10 -05:00
2015-03-27 07:09:26 +00:00
2013-09-10 18:05:47 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-04-09 12:56:30 +00:00
2014-05-09 22:49:26 +00:00
2015-03-30 02:44:57 +00:00
2015-02-27 18:23:22 +00:00
2012-09-14 19:53:43 +00:00
2012-01-30 21:21:16 +00:00
2015-04-09 22:31:58 +00:00
2014-12-12 23:40:50 +00:00
2015-03-27 07:09:26 +00:00
2015-03-30 11:42:00 +00:00
2015-03-26 22:19:21 +00:00
2015-04-07 15:21:17 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-04-13 06:36:11 -05:00
2015-04-17 15:57:10 -05:00
2012-04-28 01:33:49 +00:00
2014-07-20 22:06:33 +00:00
2015-03-26 22:19:21 +00:00
2013-07-29 17:51:25 +00:00
2014-12-20 20:57:19 +00:00
2015-03-17 21:49:30 +00:00
2014-06-24 02:50:15 +00:00
2014-05-28 22:54:12 +00:00
2014-05-22 15:52:30 +00:00
2015-04-19 16:03:18 -05:00
2015-03-26 22:19:21 +00:00
2012-06-15 16:20:16 +00:00
2015-04-09 12:56:30 +00:00
2012-06-15 16:20:16 +00:00
2015-04-29 16:25:16 -05:00
2014-06-30 04:00:19 +00:00
2015-02-19 02:01:34 +00:00
2015-02-25 21:42:04 +00:00
2015-04-23 18:26:55 +02:00
2015-01-26 14:49:32 +00:00
2012-09-21 17:14:59 +00:00
2012-10-11 15:49:02 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2013-05-08 20:25:28 +00:00
2015-03-10 23:09:17 +00:00
2014-07-18 19:55:24 +00:00
2014-12-01 17:57:12 +00:00
2015-04-07 15:21:17 +00:00
2014-08-06 12:55:28 +00:00
2015-01-27 19:08:44 +00:00
2014-08-06 12:55:28 +00:00
2014-08-06 12:55:28 +00:00
2015-03-26 22:19:21 +00:00
2013-01-19 20:54:07 +00:00
2015-03-30 02:39:18 +00:00
2015-03-26 22:19:21 +00:00
2015-01-12 18:01:24 +00:00
2015-03-26 22:19:21 +00:00
2015-04-08 16:40:25 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2014-12-04 17:13:34 +00:00
2014-09-29 20:26:50 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-04-10 16:28:50 +00:00
2015-04-09 12:56:30 +00:00
2012-06-15 16:20:16 +00:00
2014-08-21 14:39:27 +00:00
2015-03-31 11:47:14 +00:00
2014-12-17 09:54:00 +00:00
2013-10-03 18:00:15 +00:00
2015-03-26 22:19:21 +00:00