diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-06 12:20:21 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-06 13:52:00 +0100 |
commit | b0b90100bfda8c5cf95889e00183589de0abce60 (patch) | |
tree | 8033892908ad78f9d9b12bb6b149fade08b62208 /libavcodec/evrcdata.h | |
parent | ef00d40e32e71cc18cc40ee2c90714b31d0a3ce5 (diff) | |
download | ffmpeg-b0b90100bfda8c5cf95889e00183589de0abce60.tar.gz |
avcodec/libopenh264dec: Increase array sizes, fix stack-buffer overread
av_image_copy() expects an array of four pointers and linesizes
according to its declaration; it currently only pointers that are
actually in use (depending upon the pixel format), but this might
change at any time. It has already happened for the linesizes in
d7bc52bf456deba0f32d9fe5c288ec441f1ebef5 and so increasing their
array fixes a stack-buffer overread.
This fixes a -Wstringop-overflow= and -Wstringop-overread warning
from GCC 11.2.
Reviewed-by: Linjie Fu <linjie.justin.fu@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/evrcdata.h')
0 files changed, 0 insertions, 0 deletions