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-27 23:45:44 +0100 |
commit | d7fbd0366005b2d4abf06e97d623e078ccf3e160 (patch) | |
tree | 0f63f7c8a2884179825d85cda4bc8cdcb6031ed5 /doc/examples/decoding_encoding.c | |
parent | 2cd41c5d52307b4fff7d2626dca16663f269b2be (diff) | |
download | ffmpeg-d7fbd0366005b2d4abf06e97d623e078ccf3e160.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>
(cherry picked from commit 763c572801a3db1cc7a2f07a52fee9d2e35ec95a)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions