diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-05 13:06:51 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-15 00:36:41 +0100 |
commit | 763c572801a3db1cc7a2f07a52fee9d2e35ec95a (patch) | |
tree | 1cf812390eacc1c0319b37fbd424450a6d1128af /libswscale/colorspace-test.c | |
parent | f8bc0137bdf8da8806ef75d30bb749fcc301bb35 (diff) | |
download | ffmpeg-763c572801a3db1cc7a2f07a52fee9d2e35ec95a.tar.gz |
asfdec_o: only set asf_pkt->data_size after sanity checks
Otherwise invalid values are used unchecked in the next run.
This can cause NULL pointer dereferencing.
Reviewed-by: Alexandra Hájková <alexandra.khirnova@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libswscale/colorspace-test.c')
0 files changed, 0 insertions, 0 deletions