[FFmpeg-devel] [PATCH] *alloc(type)

Michael Niedermayer michaelni
Sat Dec 4 05:00:55 CET 2010


On Sat, Nov 20, 2010 at 04:37:30AM +0100, Michael Niedermayer wrote:
> Hi
> 
> patchset below fixes the type used in malloc and co
> The sense behind this patch is that feeding things that dont fit in unsigned
> int into *alloc() can lead to successfull allocation of too small arrays which
> is pretty bad.
> There are probably more functions that should be changed like av_new_packet()
> but i had to start somewhere and will look into the others too if noone else
> does.
> Note, i will apply this in a few days if there are no objections

applied, flame me on svn log

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101204/bc863f6a/attachment.pgp>



More information about the ffmpeg-devel mailing list