diff options
author | Andreas Cadhalpun <[email protected]> | 2015-04-18 20:09:28 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-04-25 15:06:54 +0200 |
commit | 3bd7aa46601ada27c8051b7dd0cef168ff4a2206 (patch) | |
tree | 992185f4736d9f13366790eab1b1234239175e69 /doc/examples | |
parent | 4c20249c86e1c0cc9aea2261758f477820b1456b (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit faf9fe2c224ea81a98afd53e2f0be0a2e13aeca9)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples')
0 files changed, 0 insertions, 0 deletions