New submission from Daniel Kang <daniel.d.k...@gmail.com>:

gmtime will return NULL when it cannot convert times. In mxf_parse_timestamp,
gmtime is called but the pointer is not checked to see if it is a NULL pointer.
I have not managed to create a file that crashes ffmpeg, but I have attached a
patch to fix this.

This is related to issue2490.

----------
files: null_pointer_check.diff
messages: 13232
priority: normal
status: open
substatus: open
title: ffmpeg gmtime bug in libavformat/mxfenc.c
type: bug

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2494>
________________________________________________

Attachment: null_pointer_check.diff
Description: Binary data

Reply via email to