commit | 1b80be352b32433a9491e6c4dd312f226072a0dd | [log] [tgz] |
---|---|---|
author | Byoungchan Lee <daniel.l@hpcnt.com> | Sun Dec 04 23:52:39 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 05 09:56:00 2022 |
tree | 8add009e78c88002dc22469b22a608d99bc40f1f | |
parent | 9f3114dec9a7f64bca74b0900b7bf7a90661d3e1 [diff] |
Fix unaligned memory access detected by UBSAN Recently, Chromium added -fsanitize=alignment for `is_ubsan=true`, and due to this, unaligned memory access was found in several places, and chromium roll is currently blocked. Modify unaligned memory access in rtc_base/byte_order.h to use memcpy. Since libaom and libsrtp perform unaligned memory accesses, add them to the suppression list. Also, remove any mention of yasm from the UBSAN suppression list, as yasm is no longer used. Bug: chromium:1057551 Change-Id: I4961b66831750f4fa7b6de0b80b2052fe6ef27c5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286200 Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38806}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.