[FFmpeg-devel] [PATCH 9/9] checkasm/hevc_pel: Fix stack buffer overreads

"zhilizhao(赵志立)" quinkblack at foxmail.com
Wed Sep 29 05:19:20 EEST 2021


> On Sep 28, 2021, at 10:41 PM, Andreas Rheinhardt <andreas.rheinhardt at outlook.com> wrote:
> 
> This patch increases several stack buffers in order to fix
> stack-buffer-overflows (e.g. in put_hevc_qpel_uni_hv_9 in
> line 814 of hevcdsp_template.c) detected with ASAN in the hevc_pel
> checkasm test.
> The buffers are increased by the minimal amount necessary
> in order not to mask potential future bugs.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> tests/checkasm/hevc_pel.c | 30 +++++++++++++++++++-----------
> 1 file changed, 19 insertions(+), 11 deletions(-)
> 

LGTM, too.


More information about the ffmpeg-devel mailing list