[FFmpeg-devel] [PATCH]Avoid null pointer dereference on oom after duration_error allocation
Paul B Mahol
onemda at gmail.com
Wed Jul 10 13:32:57 CEST 2013
On 7/10/13, Bobby Bingham <koorogi at koorogi.info> wrote:
> On Tue, Jul 09, 2013 at 10:25:09PM +0000, Paul B Mahol wrote:
>> On 7/9/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>> > Hi!
>> > Also found while testing ticket #2566.
>> > Please comment, Carl Eugen
>> No point to check same thing twice.
> It isn't. If it's null at the first check, it tries to av_mallocz it.
> The new check is looking at the result of that allocation.
It is checking twice, look at it again.
> Bobby Bingham
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel