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

Martin Storsjö martin at martin.st
Tue Sep 28 22:36:51 EEST 2021


On Tue, 28 Sep 2021, Andreas Rheinhardt 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(-)

Looks ok to me, thanks!

// Martin



More information about the ffmpeg-devel mailing list