diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-25 22:09:51 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-27 23:46:30 +0100 |
commit | 801b5c18c7beefbb894ad4de20d1b591ddb22198 (patch) | |
tree | 281b61a0110bc40ab9c3aaa5af27685dfebe627f /libavcodec/texturedsp.h | |
parent | 55997d50431c0e1033c98d24a51154b93f82b60e (diff) | |
download | ffmpeg-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/texturedsp.h')
0 files changed, 0 insertions, 0 deletions