[FFmpeg-devel] [PATCH] avformat/oggenc: check for stream private data in ogg_free()

James Almer jamrial at gmail.com
Thu Jun 22 22:14:06 EEST 2017


On 6/22/2017 4:06 PM, Paul B Mahol wrote:
> On 6/22/17, James Almer <jamrial at gmail.com> wrote:
>> Fixes a NULL pointer derefence when ogg_init() returns a failure and
>> a stream's private data was not yet allocated.
>>
>> This is a regression since 3c5a53cdfa099bba8bd951f95b85727b4b3b5d68
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  libavformat/oggenc.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
> 
> lgtm

Pushed, thanks.


More information about the ffmpeg-devel mailing list