Byoungchan Lee
33728152ca
Fix crash of ObjC SDK sLD / sRD with incorrect SDP.
...
There are two problems with setLocalDescription / setRemoteDescription
in ObjC SDK.
First, RTCSessionDescription.nativeDescription returns a raw
nullableSessionDescriptionInterface pointer, where sLD/sRD are calling
Clone() method unconditionally, so it might crash.
Second, unnecessary sLD/sRD calls Clone() of the raw pointer and
does not delete it, so this pointer will leak.
To solve these problems, I changed the return type of nativeDescription to
std::unique_ptr and removed the call to Clone() method.
Bug: webrtc:13022, webrtc:13035
Change-Id: Icbb87dda62d3a11af47ec74621cf64b8a6c05228
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227380
Reviewed-by: Kári Helgason <kthelgason@webrtc.org >
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org >
Commit-Queue: Byoungchan Lee <daniel.l@hpcnt.com >
Cr-Commit-Position: refs/heads/master@{#34647}
2021-08-04 20:39:00 +00:00
..
2021-07-27 14:39:06 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2021-07-27 14:39:06 +00:00
2021-04-20 11:54:32 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2021-07-26 16:33:54 +00:00
2020-05-04 15:01:26 +00:00
2021-07-27 14:39:06 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-10-28 16:00:27 +00:00
2020-08-20 21:46:18 +00:00
2020-08-20 21:46:18 +00:00
2021-07-27 14:39:06 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2021-07-27 14:39:06 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2021-07-27 14:39:06 +00:00
2021-08-04 20:39:00 +00:00
2021-05-26 09:43:29 +00:00
2021-03-04 13:22:26 +00:00
2020-05-14 13:26:01 +00:00
2021-03-04 13:22:26 +00:00
2021-03-04 13:22:26 +00:00
2021-03-04 13:22:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-06-12 08:16:32 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-05-31 20:15:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-18 21:53:32 +00:00
2021-04-18 21:53:32 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2021-04-14 12:20:17 +00:00
2020-10-21 08:20:05 +00:00
2020-10-21 08:20:05 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-07-17 09:57:50 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-08-17 10:01:49 +00:00
2020-08-17 10:01:49 +00:00
2020-05-04 15:01:26 +00:00
2021-07-31 09:53:46 +00:00
2021-08-04 20:39:00 +00:00
2021-08-04 20:39:00 +00:00
2019-01-11 17:11:39 +00:00
2021-05-25 20:38:08 +00:00
2021-05-25 20:38:08 +00:00
2020-05-14 13:26:01 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2021-05-27 09:56:42 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00
2020-05-04 15:01:26 +00:00