History

avcodec/aacdec_fixed: Fix runtime error: left shift of negative value -1297616

Fixes: 2195/clusterfuzz-testcase-minimized-4736721533009920

Michael Niedermayer committed 9 years ago

Commit 6d499ec1 parent 9a949cd1 file · +1 −1Browse files

Unified · Split

libavcodec/aacdec_fixed.c+1−1
@@ -389,7 +389,7 @@ static void apply_dependent_coupling_fixed(AACContext *ac, · 388 unmodified lines
389389 for (k = offsets[i]; k < offsets[i + 1]; k++) {
390390 tmp = (int)(((int64_t)src[group * 128 + k] * c + \
391391 (int64_t)0x1000000000) >> 37);
392− dest[group * 128 + k] += tmp << shift;
392+ dest[group * 128 + k] += tmp * (1 << shift);
393393 }
394394 }
395395 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t