Henrik Boström
fdb92012fb
Avoid use-after-move in PeerConnection::Set[Local/Remote]Description.
...
In Set[Local/Remote]Description we have a raw pointer |desc| whose
ownership is passed to a helper function. Before this CL we continue
to use |desc| after ownership is passed under the assumption that the
object is not deleted.
In this CL, we instead rely on [local/remote]_description() after the
helper function has been called. In practice, this is a pointer to
the same object, but it removes the assumption about |desc| being
valid after its ownership is passed.
Bug: None
Change-Id: I144a190ea00f303f4713b64c45aa3e811c0f4b2e
Reviewed-on: https://webrtc-review.googlesource.com/21320
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20654}
2017-11-13 13:53:38 +00:00
..
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-10-06 13:00:14 +00:00
2017-09-15 05:02:56 +00:00
2017-11-06 21:15:20 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-07 18:46:06 +00:00
2017-11-11 01:14:35 +00:00
2017-11-11 01:14:35 +00:00
2017-11-07 18:09:45 +00:00
2017-11-09 11:56:32 +00:00
2017-11-07 18:09:45 +00:00
2017-11-03 10:16:22 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 12:51:00 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-10-05 13:51:21 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-10-30 18:08:29 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-13 12:27:29 +00:00
2017-11-03 10:16:22 +00:00
2017-10-23 21:05:17 +00:00
2017-10-23 19:13:47 +00:00
2017-10-21 01:38:14 +00:00
2017-11-11 00:50:35 +00:00
2017-10-21 01:38:14 +00:00
2017-10-17 17:53:51 +00:00
2017-10-21 01:38:14 +00:00
2017-11-13 13:53:38 +00:00
2017-11-06 22:54:05 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-11-13 10:34:58 +00:00
2017-10-30 18:08:29 +00:00
2017-10-27 01:07:27 +00:00
2017-11-13 12:07:31 +00:00
2017-11-13 12:07:31 +00:00
2017-09-15 12:51:00 +00:00
2017-11-09 11:56:32 +00:00
2017-10-19 18:01:52 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-11-07 18:46:06 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-10-30 18:08:29 +00:00
2017-11-07 18:09:45 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-26 18:12:45 +00:00
2017-09-26 18:12:45 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-10-13 05:11:27 +00:00
2017-11-11 01:14:35 +00:00
2017-11-11 01:14:35 +00:00
2017-11-11 01:14:35 +00:00
2017-09-15 05:02:56 +00:00
2017-11-11 01:14:35 +00:00
2017-11-11 01:14:35 +00:00
2017-11-11 01:14:35 +00:00
2017-11-07 18:46:06 +00:00
2017-11-09 11:56:32 +00:00
2017-10-30 18:08:29 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-29 18:20:07 +00:00
2017-11-09 11:56:32 +00:00
2017-10-24 16:14:18 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-10-30 18:08:29 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-10-30 18:08:29 +00:00