[FFmpeg-devel] [PATCH 2/5] checkasm/sw_scale: Fix stack-buffer-overflow
Michael Niedermayer
michael at niedermayer.cc
Wed May 20 16:39:23 EEST 2020
On Tue, May 19, 2020 at 12:45:58PM +0200, Andreas Rheinhardt wrote:
> A buffer whose size is not a multiple of four has been initialized using
> consecutive writes of 32bits. This results in a stack-buffer-overflow
> reported by ASAN in the checkasm-sw_scale FATE-test.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> Instead of using FFALIGN one could also just remove the "- 1" if that's
> preferred.
>
> tests/checkasm/sw_scale.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200520/a6260446/attachment.sig>
More information about the ffmpeg-devel
mailing list