Files
ffmpeg/libavformat
Andreas Cadhalpun 8016800a64 nutdec: fix illegal count check in decode_main_header
The existing check has two problems:
 1) i + count can overflow, so that the check '< 256' returns true.
 2) In the (i == 'N') case occurs a j-- so that the loop runs once more.

This can trigger the assertion 'nut->header_len[0] == 0' or cause
segmentation faults or infinite hangs.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 7c24ca1bda)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 20:43:37 +02:00
..
2014-12-01 00:31:06 +01:00
2014-11-19 11:17:43 +01:00
2014-12-09 20:08:03 +01:00
2014-11-04 14:11:53 +01:00
2014-12-22 03:17:55 +01:00
2014-12-02 11:40:01 +01:00
2015-03-21 01:52:52 +01:00
2014-12-19 18:01:31 -03:00
2015-02-12 17:10:35 +01:00
2015-05-21 20:43:37 +02:00