[FFmpeg-devel] stsz overflow

Alex Converse alex.converse
Sat Aug 29 17:40:41 CEST 2009


On Sat, Aug 29, 2009 at 4:51 AM, Baptiste
Coudurier<baptiste.coudurier at gmail.com> wrote:
> On 8/25/2009 11:19 AM, Baptiste Coudurier wrote:
>>
>> On 8/25/2009 11:11 AM, Reimar D?ffinger wrote:
>> [...]
>>
>>> Or
>>> if (entries>= UINT_MAX / sizeof(int) || entries>= (UINT_MAX - 4) /
>>> field_size)
>>> as a compromise.
>>
>> This one seems good to me as well.
>
> Everybody is ok with this test ? I'll apply it soon.

I can live with it.



More information about the ffmpeg-devel mailing list