aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pcxenc.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-05-05 21:33:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-01 23:25:22 +0200
commit10429a5284cd820c0a641622749b07dbc02d703f (patch)
treed57fbb17ec1dbb6aaadab7bcf10bf40c6d3ca5c9 /libavcodec/pcxenc.c
parentf9f1c50b41bfd42b14c11fcbf43ecc1303da3a86 (diff)
downloadffmpeg-10429a5284cd820c0a641622749b07dbc02d703f.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 'libavcodec/pcxenc.c')
0 files changed, 0 insertions, 0 deletions