[pulseaudio-tickets] [Bug 62918] New: webrtc-audio-processing: analog_agc.c:1651:24: warning: iteration 10u invokes undefined behavior
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Mar 29 16:54:08 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62918
Priority: medium
Bug ID: 62918
CC: lennart at poettering.net
Assignee: pulseaudio-bugs at lists.freedesktop.org
Summary: webrtc-audio-processing: analog_agc.c:1651:24:
warning: iteration 10u invokes undefined behavior
QA Contact: pulseaudio-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: crrodriguez at opensuse.org
Hardware: All
Status: NEW
Version: unspecified
Component: misc
Product: PulseAudio
Gcc 4.8 warns:
analog_agc.c: In function 'WebRtcAgc_Init':
analog_agc.c:1651:24: warning: iteration 10u invokes undefined behavior
[-Waggressive-loop-optimizations]
stt->env[0][i] = 0;
^
analog_agc.c:1649:5: note: containing loop
for (i = 0; i < 20; i++)
^
The warning is correct:
for (i = 0; i < 20; i++)
{
stt->env[0][i] = 0; --> WebRtc_Word32 env[2][10];
}
It is iterating waay over the bounds..
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130329/1ae4986d/attachment.html>
More information about the pulseaudio-bugs
mailing list