[FFmpeg-devel] [PATCH 5/5] libxvid: Reduce the size of an array

Timothy Gu timothygu99 at gmail.com
Sun Aug 4 05:55:11 CEST 2013


On Sat, Aug 3, 2013 at 7:24 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Aug 03, 2013 at 05:00:12PM -0700, Timothy Gu wrote:
>> Will this be applied? (Read: ping)
>
> without a check that ensures the array is large enough in the future,
> i wont reduce the arrays size.
> Doing otherwise would create fragile code that could easily become
> a security issue

You are right, but I am not capable of doing it (I am not that good a
programmer, maybe you don't understand. What should I use? A macro, a
static function, or something else? Where should I put the check?)

I think I will just leave the big plugins[] there, until someone else
(maybe you) does it.

Timothy


More information about the ffmpeg-devel mailing list