Re: [FFmpeg-devel] [PATCH]lavc/frame_thread_encoder: Do not memcpy() from NULL

2019-08-10 Thread Carl Eugen Hoyos
Am So., 7. Juli 2019 um 14:04 Uhr schrieb Mark Thompson : > > On 02/07/2019 10:44, Carl Eugen Hoyos wrote: > > Am Di., 2. Juli 2019 um 08:31 Uhr schrieb Reimar Döffinger > > : > >> > >> On 01.07.2019, at 00:51, Carl Eugen Hoyos wrote: > > > >>> I believe attached patch fixes undefined behaviour an

Re: [FFmpeg-devel] [PATCH]lavc/frame_thread_encoder: Do not memcpy() from NULL

2019-07-07 Thread Mark Thompson
On 02/07/2019 10:44, Carl Eugen Hoyos wrote: > Am Di., 2. Juli 2019 um 08:31 Uhr schrieb Reimar Döffinger > : >> >> On 01.07.2019, at 00:51, Carl Eugen Hoyos wrote: > >>> I believe attached patch fixes undefined behaviour and ticket #7981. >> >> Same here, I think it makes more sense to check the

Re: [FFmpeg-devel] [PATCH]lavc/frame_thread_encoder: Do not memcpy() from NULL

2019-07-02 Thread Carl Eugen Hoyos
Am Di., 2. Juli 2019 um 08:31 Uhr schrieb Reimar Döffinger : > > On 01.07.2019, at 00:51, Carl Eugen Hoyos wrote: > > 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. True, new patch att

Re: [FFmpeg-devel] [PATCH]lavc/frame_thread_encoder: Do not memcpy() from NULL

2019-07-01 Thread Reimar Döffinger
On 01.07.2019, at 00:51, Carl Eugen Hoyos 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 explici

[FFmpeg-devel] [PATCH]lavc/frame_thread_encoder: Do not memcpy() from NULL

2019-06-30 Thread Carl Eugen Hoyos
Hi! I believe attached patch fixes undefined behaviour and ticket #7981. Please comment, Carl Eugen From d72fe544d6d7cdf816a75df858b17f1744049d97 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 1 Jul 2019 00:49:44 +0200 Subject: [PATCH] lavc/frame_thread_encoder: Do not memcpy() from