New issue
Advanced search Search tips

Issue 776719 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Oct 2017
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Undefined-shift in WebRtcAgc_ProcessVad

Project Member Reported by ClusterFuzz, Oct 20 2017

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=4786843920105472

Fuzzer: libFuzzer_audio_processing_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Undefined-shift
Crash Address: 
Crash State:
  WebRtcAgc_ProcessVad
  WebRtcAgc_ProcessDigital
  WebRtcAgc_Process
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=509903:509934

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=4786843920105472

Issue filed automatically.

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.
 
Project Member

Comment 1 by ClusterFuzz, Oct 20 2017

Labels: Test-Predator-AutoOwner
Owner: ale...@webrtc.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://webrtc.googlesource.com/src/+/9ce0c7a2d2b4e1f6f85b44dd6face675309e4f07 (Improving APM fuzzer coverage.).

If this is incorrect, please remove the owner and apply the Test-Predator-Wrong-CLs label.

Comment 2 by mmoroz@chromium.org, Oct 24 2017

For more information, please see https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md.

The link referenced in the description is no longer valid.
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 25 2017

The following revision refers to this bug:
  https://webrtc.googlesource.com/src.git/+/b9f536167c951558cce8ab18a5012e0822d18855

commit b9f536167c951558cce8ab18a5012e0822d18855
Author: Alex Loiko <aleloi@webrtc.org>
Date: Wed Oct 25 13:35:36 2017

Removing undefined left shifts in AudioProcessing

This CL replaces 5 left shifts where the shifted value may be 
negative. The shifts are replaced with equivalent multiplications.

Bug:  chromium:777231 ,  chromium:776719 ,  chromium:776624 ,  chromium:776286 
Change-Id: Ifb27d5506eac779e60f238432bdf9e4bc5b2da4c
Reviewed-on: https://webrtc-review.googlesource.com/14800
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20430}
[modify] https://crrev.com/b9f536167c951558cce8ab18a5012e0822d18855/common_audio/signal_processing/resample_by_2.c
[modify] https://crrev.com/b9f536167c951558cce8ab18a5012e0822d18855/common_audio/vad/vad_filterbank.c
[modify] https://crrev.com/b9f536167c951558cce8ab18a5012e0822d18855/modules/audio_processing/agc/legacy/digital_agc.c

Project Member

Comment 4 by ClusterFuzz, Oct 26 2017

ClusterFuzz has detected this issue as fixed in range 511516:511546.

Detailed report: https://clusterfuzz.com/testcase?key=4786843920105472

Fuzzer: libFuzzer_audio_processing_fuzzer
Job Type: libfuzzer_chrome_ubsan
Platform Id: linux

Crash Type: Undefined-shift
Crash Address: 
Crash State:
  WebRtcAgc_ProcessVad
  WebRtcAgc_ProcessDigital
  WebRtcAgc_Process
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=509903:509934
Fixed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=511516:511546

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=4786843920105472

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reference.md for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Project Member

Comment 5 by ClusterFuzz, Oct 26 2017

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase 4786843920105472 is verified as fixed, so closing issue as verified.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Labels: -Test-Predator-AutoOwner Test-Predator-Auto-Owner

Sign in to add a comment