1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavcodec
Andreas Cadhalpun 3e8e1a660e apng: use correct size for output buffer
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>
2015-11-07 13:15:14 +01:00
..
2015-10-29 21:26:43 +01:00
2015-11-06 13:45:50 +01:00
2015-11-06 13:45:50 +01:00
2015-11-06 13:45:50 +01:00
2015-10-26 10:08:01 +01:00
2015-10-25 22:48:04 +01:00
2015-11-07 12:10:55 +01:00
2015-11-07 12:10:55 +01:00
2015-11-07 12:10:55 +01:00
2015-11-06 13:45:50 +01:00
2015-10-26 23:23:59 -07:00
2015-10-29 21:26:43 +01:00
2015-11-06 13:45:50 +01:00
2015-11-06 13:45:50 +01:00