aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/yadif.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-09 23:49:46 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-27 00:46:34 +0100
commit5c55f9881ed032ff83515f4e39216dee97685a5a (patch)
treea1423951a13568d910efc00f75540bfb7ae72216 /libavfilter/yadif.h
parentdc821d42a2fd79ac64161f50decf5922e431445a (diff)
downloadffmpeg-5c55f9881ed032ff83515f4e39216dee97685a5a.tar.gz
proresdec_lgpl: explicitly check coff[3] against slice_data_size
The implicit checks via v_data_size and a_data_size don't work in the case '(hdr_size > 7) && !ctx->alpha_info'. This fixes segmentation faults due to invalid reads. This problem was introduced in commit 547c2f002a87f4412a83c23b0d60364be5e7ce58. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 1e33035ee7a8d9fb7a4b8b6cc54842e72b36ed70) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/yadif.h')
0 files changed, 0 insertions, 0 deletions