mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/135/head
parent
361702660d
commit
7c24ca1bda
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue