commit | 996fc6bdb70c5e855fb8eb8fdde29640c028983c | [log] [tgz] |
---|---|---|
author | deadbeef <deadbeef@webrtc.org> | Wed Apr 26 16:21:22 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 26 16:21:22 2017 |
tree | 0358e1e0676f048bc45942c0e44fa75ad57d4932 | |
parent | 65881de6c81cf3f33b0f2f5f8f4a19716ee93fdc [diff] |
Don't crash if STUN error message is missing ERROR-CODE attribute. This is something a well-behaving STUN server shouldn't do, but we shouldn't crash if it does happen. Also adding helper function for the common operation of extracting just the error code out of a STUN packet. BUG=chromium:708469 Review-Url: https://codereview.webrtc.org/2837133003 Cr-Commit-Position: refs/heads/master@{#17892}
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.