commit | 1ea631f4a769305a372cfb8fcf455c10f8f0a8aa | [log] [tgz] |
---|---|---|
author | oprypin <oprypin@webrtc.org> | Fri Aug 18 07:15:19 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 18 07:15:19 2017 |
tree | e2b6917c79cee8eda7c0f0e6a421742ded8aaf7f | |
parent | 9e0c742f1b564126aec0071f2c93d2e912889764 [diff] |
Fix a delete type mismatch (deleting a sockaddr_in6* as a sockaddr*) This triggered ASan, saying "object passed to delete has wrong type". This error is caused by allocating a `struct sockaddr_in6`, casting it and deleting it as `struct sockaddr*` which has a smaller size. BUG=None Review-Url: https://codereview.webrtc.org/2999053002 Cr-Commit-Position: refs/heads/master@{#19401}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.