diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-04-18 20:09:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-25 15:06:54 +0200 |
commit | 3bd7aa46601ada27c8051b7dd0cef168ff4a2206 (patch) | |
tree | 992185f4736d9f13366790eab1b1234239175e69 /doc/examples/transcoding.c | |
parent | 4c20249c86e1c0cc9aea2261758f477820b1456b (diff) | |
download | ffmpeg-3bd7aa46601ada27c8051b7dd0cef168ff4a2206.tar.gz |
alsdec: validate time diff index
If begin is smaller than t, the subtraction 'begin -= t' wraps around,
because begin is unsigned. The same applies for end < t.
This causes segmentation faults.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit faf9fe2c224ea81a98afd53e2f0be0a2e13aeca9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples/transcoding.c')
0 files changed, 0 insertions, 0 deletions