diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-05 21:33:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-17 21:50:09 +0200 |
commit | a64102e25fb94159ee548cb7fb59322770faf7f7 (patch) | |
tree | 4dabf5e788a1ed5795bbdc20b323a15ca24d0250 /libavutil/rational.h | |
parent | 4f0d1af68ad352dbfcb079e52fd333622c274a5b (diff) | |
download | ffmpeg-a64102e25fb94159ee548cb7fb59322770faf7f7.tar.gz |
diracdec: prevent overflow in data_unit_size check
buf_idx + data_unit_size can overflow, causing the '> buf_size' check to
wrongly fail.
This causes a segmentation fault.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 984f50deb2d48f6844d65e10991b996a6d29e87c)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/rational.h')
0 files changed, 0 insertions, 0 deletions