Markus Handell
43e62fcc76
Fix Heap-use-after-free.
...
This change fixes a problem where VideoRtpReceiver::OnGenerateKeyFrame would
use it's stored media_channel_ pointer after the channel was deleted. This was
due to the higher layer RtpTransceiver not clearing the reference with SetMediaChannel(nullptr) when removing the receiver, and the VideoRtpReceiver's embedded VideoRtpTrackSource subsequently requesting a key frame.
Bug: chromium:1037703
Change-Id: Iee8338458063866589b70b4070793fbe600d41ff
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/164538
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30175}
2020-01-07 23:29:55 +00:00
..
2019-12-07 00:54:26 +00:00
2019-12-04 23:49:04 +00:00
2019-12-03 19:50:42 +00:00
2019-04-08 16:58:07 +00:00
2019-01-25 20:29:58 +00:00
2019-12-07 00:54:26 +00:00
2019-01-28 18:56:02 +00:00
2019-11-26 19:19:36 +00:00
2019-12-20 13:57:12 +00:00
2019-09-13 10:49:56 +00:00
2019-12-02 09:47:34 +00:00
2019-12-05 14:05:33 +00:00
2019-12-05 14:05:33 +00:00
2019-09-24 22:35:44 +00:00
2019-10-01 12:23:19 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2019-06-07 20:14:36 +00:00
2019-12-16 14:54:56 +00:00
2019-12-16 14:54:56 +00:00
2019-12-08 17:33:54 +00:00
2019-12-12 21:54:06 +00:00
2019-12-08 17:33:54 +00:00
2019-08-29 15:56:40 +00:00
2019-11-26 19:19:36 +00:00
2019-01-28 11:17:00 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-09-17 15:47:29 +00:00
2019-10-29 22:20:49 +00:00
2019-04-16 07:28:06 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-04-02 10:13:36 +00:00
2019-09-17 15:47:29 +00:00
2019-04-09 09:12:10 +00:00
2019-01-30 16:16:51 +00:00
2019-04-18 19:11:31 +00:00
2019-04-18 19:11:31 +00:00
2019-07-08 13:45:15 +00:00
2019-04-18 19:11:31 +00:00
2019-04-18 19:11:31 +00:00
2019-09-17 15:47:29 +00:00
2019-09-17 15:47:29 +00:00
2019-10-14 12:40:53 +00:00
2020-01-07 00:34:54 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 19:19:36 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2019-05-13 18:37:47 +00:00
2019-05-13 18:37:47 +00:00
2019-10-15 14:45:58 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 19:19:36 +00:00
2019-01-29 02:33:50 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-08-19 22:37:51 +00:00
2019-09-17 15:47:29 +00:00
2019-09-17 15:47:29 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 18:28:07 +00:00
2019-07-08 13:45:15 +00:00
2020-01-07 00:34:54 +00:00
2019-11-21 12:41:45 +00:00
2019-12-09 13:55:50 +00:00
2019-12-09 13:55:50 +00:00
2019-12-16 14:54:56 +00:00
2019-11-26 19:19:36 +00:00
2019-03-27 18:14:00 +00:00
2019-11-25 21:54:30 +00:00
2019-12-20 13:57:12 +00:00
2019-09-17 15:47:29 +00:00
2019-12-09 13:55:50 +00:00
2019-10-30 10:24:44 +00:00
2019-12-09 13:55:50 +00:00
2019-10-14 12:40:53 +00:00
2019-10-14 12:40:53 +00:00
2019-12-12 21:54:06 +00:00
2019-12-04 13:18:22 +00:00
2019-04-09 17:18:20 +00:00
2019-12-04 23:49:04 +00:00
2019-12-04 23:49:04 +00:00
2020-01-07 17:26:01 +00:00
2020-01-07 17:26:01 +00:00
2019-05-27 12:45:22 +00:00
2020-01-07 17:26:01 +00:00
2019-04-09 17:18:20 +00:00
2020-01-07 17:26:01 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-04-16 12:04:33 +00:00
2019-04-16 12:04:33 +00:00
2019-12-03 13:26:53 +00:00
2019-12-03 13:26:53 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-09-16 21:29:58 +00:00
2019-12-06 15:11:54 +00:00
2019-12-03 13:26:53 +00:00
2019-05-20 18:38:06 +00:00
2019-01-11 17:11:39 +00:00
2020-01-07 23:29:55 +00:00
2019-11-25 21:54:30 +00:00
2019-05-24 23:58:46 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-05-24 23:58:46 +00:00
2019-12-16 14:54:56 +00:00
2019-12-16 14:54:56 +00:00
2019-11-16 14:56:01 +00:00
2019-11-16 14:56:01 +00:00
2019-11-16 14:56:01 +00:00
2019-04-09 17:18:20 +00:00
2019-11-15 11:48:42 +00:00
2019-10-01 12:23:19 +00:00
2019-07-08 13:45:15 +00:00
2019-04-09 21:19:31 +00:00
2019-01-11 17:11:39 +00:00
2019-10-14 12:40:53 +00:00
2019-11-05 09:40:03 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2019-11-26 19:19:36 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-12-09 13:55:50 +00:00
2019-12-12 17:23:29 +00:00
2019-12-12 17:23:29 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-10-15 10:43:59 +00:00
2019-10-15 10:43:59 +00:00
2019-10-15 10:43:59 +00:00
2019-01-11 17:11:39 +00:00
2019-09-02 14:04:47 +00:00
2019-01-28 09:53:50 +00:00
2019-01-11 17:11:39 +00:00
2019-02-05 15:12:20 +00:00
2019-10-28 11:30:23 +00:00
2019-09-24 08:56:24 +00:00
2019-06-24 08:50:07 +00:00
2019-12-04 12:55:40 +00:00
2019-12-05 14:12:33 +00:00
2019-12-04 12:55:40 +00:00
2019-11-26 09:17:52 +00:00
2019-11-26 09:17:52 +00:00
2019-11-26 09:17:52 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-11-26 19:19:36 +00:00
2019-11-26 19:19:36 +00:00
2019-04-02 10:13:36 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00