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

Michael Niedermayer michaelni at gmx.at
Mon Aug 5 18:17:49 CEST 2013

On Sat, Aug 03, 2013 at 08:55:11PM -0700, Timothy Gu wrote:
> 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.




Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130805/d8473a3a/attachment.asc>

More information about the ffmpeg-devel mailing list