summaryrefslogtreecommitdiffstats
path: root/libavformat/flic.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2016-11-09 23:49:46 +0100
committerAndreas Cadhalpun <[email protected]>2016-11-27 00:38:56 +0100
commit416a8a06b977d8b3d113945701d9690abfdd7622 (patch)
treebe13138c8cc776e7ce23fd1e16e7ab6021f3be09 /libavformat/flic.c
parente14cc2f1975b608b630725007bda10f49aa096a1 (diff)
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 <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]> (cherry picked from commit 1e33035ee7a8d9fb7a4b8b6cc54842e72b36ed70) Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavformat/flic.c')
0 files changed, 0 insertions, 0 deletions