deadbeef
62802a1b0e
Fixing possible crash due to RefCountedChannel assignment operator.
...
We relied on the default destructor of RefCountedChannel to destroy its
members in reverse initialization order (deleting the DTLS wrapper
before the underlying ICE channel).
However, std::vector also may use the default assignment operator, which
performs a member-wise copy in initialization order. Which results in
deleting the ICE channel before the DTLS one. This CL fixes this by
using a vector of pointers instead of structures, and uses RefCountedObject
to handle ref-counting.
BUG=chromium:672951
Review-Url: https://codereview.webrtc.org/2571683004
Cr-Commit-Position: refs/heads/master@{#15583}
2016-12-14 00:38:46 +00:00
..
2016-04-27 14:22:58 +00:00
2015-10-07 10:23:32 +00:00
2016-05-15 02:44:18 +00:00
2016-10-25 17:15:14 +00:00
2015-10-07 10:23:32 +00:00
2016-05-20 22:08:37 +00:00
2016-06-28 01:09:10 +00:00
2014-10-28 22:20:11 +00:00
2016-12-07 00:22:11 +00:00
2016-11-01 08:47:48 +00:00
2016-11-01 08:47:48 +00:00
2016-10-11 13:43:36 +00:00
2016-12-07 00:22:11 +00:00
2016-12-10 21:15:39 +00:00
2016-12-10 21:15:39 +00:00
2016-12-10 21:15:39 +00:00
2016-05-24 17:13:41 +00:00
2016-03-02 13:42:35 +00:00
2016-12-13 13:17:31 +00:00
2016-12-07 00:22:11 +00:00
2016-12-07 00:22:11 +00:00
2016-04-26 10:13:28 +00:00
2016-11-01 08:47:48 +00:00
2016-12-13 13:17:31 +00:00
2016-12-13 13:17:31 +00:00
2016-12-13 18:33:47 +00:00
2016-12-13 02:49:40 +00:00
2016-12-13 02:49:40 +00:00
2016-12-13 13:17:31 +00:00
2016-12-13 13:17:31 +00:00
2016-06-10 21:17:33 +00:00
2016-06-17 01:08:19 +00:00
2015-10-07 10:23:32 +00:00
2016-05-26 21:34:18 +00:00
2016-12-13 13:17:31 +00:00
2016-07-01 03:52:16 +00:00
2016-04-27 14:22:58 +00:00
2016-06-10 21:17:33 +00:00
2016-10-17 07:55:03 +00:00
2015-10-14 22:02:50 +00:00
2015-10-14 22:02:50 +00:00
2016-12-13 02:37:41 +00:00
2016-12-13 02:37:41 +00:00
2016-06-20 12:13:22 +00:00
2016-09-22 16:52:30 +00:00
2016-08-04 02:50:53 +00:00
2016-06-28 16:44:55 +00:00
2016-06-28 16:44:55 +00:00
2016-07-01 03:52:16 +00:00
2016-09-07 00:18:58 +00:00
2016-06-10 21:17:33 +00:00
2016-03-16 15:55:48 +00:00
2016-10-17 07:55:03 +00:00
2016-03-30 13:43:44 +00:00
2016-05-15 02:44:18 +00:00
2016-05-15 02:44:18 +00:00
2016-07-29 00:15:30 +00:00
2016-07-01 03:52:16 +00:00
2016-05-15 02:44:18 +00:00
2015-03-04 13:04:54 +00:00
2016-09-16 22:07:58 +00:00
2016-12-07 00:22:11 +00:00
2015-12-05 18:00:04 +00:00
2016-12-07 00:22:11 +00:00
2016-10-05 18:47:39 +00:00
2016-12-10 21:15:39 +00:00
2016-12-14 00:38:46 +00:00
2016-12-14 00:38:46 +00:00
2016-03-02 13:42:35 +00:00
2016-12-13 19:29:16 +00:00
2016-08-31 15:18:22 +00:00
2016-08-31 15:18:22 +00:00
2016-08-31 15:18:22 +00:00
2016-03-02 13:42:35 +00:00
2016-12-13 13:17:31 +00:00
2016-12-13 13:17:31 +00:00
2016-07-01 03:52:16 +00:00
2016-08-01 23:37:21 +00:00
2016-08-24 22:06:58 +00:00
2016-08-24 22:06:58 +00:00
2014-10-28 22:20:11 +00:00
2016-11-09 21:44:13 +00:00
2016-11-09 21:44:13 +00:00
2016-11-09 21:44:13 +00:00