DescriptionMake UBSan warnings fatal and fix the existing ones
The warnings were (all signed integer overflow):
webrtc/common_audio/signal_processing/levinson_durbin.c:46:25
12 * 268435456 cannot be represented in type 'int'
webrtc/modules/audio_processing/aecm/aecm_core.cc:930:69
522240 * 6115 cannot be represented in type 'int'
webrtc/modules/audio_processing/aecm/aecm_core_c.cc:455:36
72293096 * 50 cannot be represented in type 'int'
webrtc/modules/pacing/alr_detector.cc:70:48
1000000000 * 65 cannot be represented in type 'int'
webrtc/modules/rtp_rtcp/source/rtp_sender.cc:947:20
1929277286 + 321546521 cannot be represented in type 'int'
BUG=webrtc:8195
Review-Url: https://codereview.webrtc.org/3005003002
Cr-Commit-Position: refs/heads/master@{#19670}
Committed: https://chromium.googlesource.com/external/webrtc/+/ba09f79ba31c543d0dcf3a6d824992685087005a
Patch Set 1 : Make UBSan warnings fatal in bots #Patch Set 2 : Fix UBSan warnings #
Total comments: 6
Patch Set 3 : Address review comments #
Total comments: 2
Patch Set 4 : Use 'auto' per suggestion #Patch Set 5 : Revert one fix because the overflow was relied on #
Messages
Total messages: 27 (16 generated)
|