1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Andreas Cadhalpun c0cd8747ef 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>
(cherry picked from commit 3e8e1a660ea182111057d56ec1cfad2c62250f4c)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-07 14:11:12 +01:00
..
2015-08-29 06:44:20 +01:00
2015-09-02 06:26:45 +01:00
2015-08-27 17:05:44 +02:00
2015-09-01 14:35:32 +02:00
2015-10-08 13:15:42 +02:00
2015-09-03 09:47:44 +00:00
2015-10-12 21:46:54 +02:00
2015-09-04 09:33:46 -04:00
2015-09-08 22:31:44 +02:00
2015-08-28 04:25:15 +02:00
2015-10-08 13:15:42 +02:00
2015-10-12 21:46:54 +02:00
2015-09-07 15:32:56 +02:00