commit | 6c0739e4b9420c3c9a4f7bf1f630fedcb712f362 | [log] [tgz] |
---|---|---|
author | wu@webrtc.org <wu@webrtc.org> | Fri Oct 18 21:10:51 2013 +0000 |
committer | wu@webrtc.org <wu@webrtc.org> | Fri Oct 18 21:10:51 2013 +0000 |
tree | 0acf24e76c16926fabcead058f5257bf284283d6 | |
parent | 9b307a7220652f4f216d7b5d72bef78c73425f17 [diff] |
Protect _transportPtr, which can be accessed by different threads in the case of external transport. This change avoid the potential use-after-free, e.g. the case in the reported bug. BUG=2508 RISK=P1 TEST=try bots R=henrika@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2425004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5000 4adac7df-926f-26a2-2b94-8c16560cd09d