aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/v308dec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-25 22:09:51 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-27 23:46:30 +0100
commit801b5c18c7beefbb894ad4de20d1b591ddb22198 (patch)
tree281b61a0110bc40ab9c3aaa5af27685dfebe627f /libavcodec/v308dec.c
parent55997d50431c0e1033c98d24a51154b93f82b60e (diff)
downloadffmpeg-801b5c18c7beefbb894ad4de20d1b591ddb22198.tar.gz
pngdec: check if previous frame exists instead of trusting sequence_number
This fixes a segmentation fault caused by calling memcpy with NULL as second argument in handle_p_frame_apng. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/v308dec.c')
0 files changed, 0 insertions, 0 deletions