[FFmpeg-devel] [PATCH] lavf/mov: fix huge alloc in mov_read_ctts

James Almer jamrial at gmail.com
Sun Nov 26 03:03:41 EET 2017

On 11/25/2017 10:00 PM, John Stebbins wrote:
> On 11/25/2017 04:03 PM, Carl Eugen Hoyos wrote:
>> 2017-11-25 21:11 GMT+01:00 John Stebbins <jstebbins at jetheaddev.com>:
>>> An invalid file may cause huge alloc.  Delay expansion of ctts entries
>>> until the number of samples is known in mov_build_index.
>> Please mention zhao dongzhuo from ADlab of Venustech who found this
>> issue, I can confirm that the memory allocation gets fixed.
> Sure. Should I amend the commit message to add something like, "Thanks to zhao dongzhuo from ADlab of Venustech for
> reporting this issue"?

Or just a "Found-by:" line.

See commit 837cb4325b712ff1aab531bf41668933f61d75d2 for an example.

More information about the ffmpeg-devel mailing list