aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/webvttdec.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-05-21 20:43:37 +0200
commite67181a3518f6c6cc687aa5d4d625b067e252ad1 (patch)
tree4e3421f6dc507de8513f4bbc4b9e476e2711b1bd /libavcodec/webvttdec.c
parent84db3e6648860bb4ad630f989ca2e07877fbe36c (diff)
downloadffmpeg-e67181a3518f6c6cc687aa5d4d625b067e252ad1.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/webvttdec.c')
0 files changed, 0 insertions, 0 deletions