[FFmpeg-devel] [PATCH 4/5] avcodec/hevcdec: Fix undefined memcpy()

Michael Niedermayer michael at niedermayer.cc
Fri Sep 8 01:09:29 EEST 2023


On Sun, Jul 23, 2023 at 08:03:02PM +0200, Michael Niedermayer wrote:
> There is likely a better way to fix this, this is mainly to show the problem
> 
> Fixes: MC within same frame resulting in overlapping memcpy()
> Fixes: 60189/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-4992746590175232
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/hevcdec.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

this fixes 2 more files
will apply with all 3 in the commit message

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230908/29e7ae3f/attachment.sig>


More information about the ffmpeg-devel mailing list