[FFmpeg-devel] [PATCH] vp3: zero allocated tables

Paul B Mahol onemda at gmail.com
Fri May 17 15:16:17 CEST 2013


On 5/17/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Paul B Mahol <onemda <at> gmail.com> writes:
>
>> -    s->superblock_coding = av_malloc(s->superblock_count);
>> -    s->all_fragments = av_malloc(s->fragment_count
>> * sizeof(Vp3Fragment));
>> -    s->coded_fragment_list[0] = av_malloc(s->fragment_count
>> * sizeof(int));
>
> How can I reproduce this?

The ticket mentioned that uninitialized value was used thus this patch.

This patch may not actually fix anything and could hide real bug.

I have no means to reproduce issue mentioned in ticket.


More information about the ffmpeg-devel mailing list