mirror of https://github.com/FFmpeg/FFmpeg.git
The buffer needs s->bpp bytes, at maximum currently 10. Assert that s->bpp is not larger. This fixes a stack buffer overflow. Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>pull/160/head
parent
db374790c7
commit
3e8e1a660e
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue