[FFmpeg-devel] [PATCH]lavc/frame_thread_encoder: Do not memcpy() from NULL
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Jul 2 09:31:36 EEST 2019
On 01.07.2019, at 00:51, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> Hi!
>
> I believe attached patch fixes undefined behaviour and ticket #7981.
Same here, I think it makes more sense to check the "size" instead of the pointer.
But I also suspect we might want to think of a way to not need all these explicit checks all over.
More information about the ffmpeg-devel
mailing list