Re: [E-devel] bad realloc

2010-08-03 Thread Lucas De Marchi
On Tue, Aug 3, 2010 at 3:02 PM, Lucas De Marchi wrote: > You can find the spatch used in trunk/SCRIPTS/coccinelle/ Of course, no attachments... :( Here it's: http://git.profusion.mobi/~lucas/bad-realloc.tar.bz2 Lucas De Marchi ---

Re: [E-devel] bad realloc

2010-08-03 Thread Mike
Maybe he meant that it was a metaphorical attachment? -- Mike Blumenkrantz Zentific: Our boolean values are huge. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C+

Re: [E-devel] bad realloc

2010-08-03 Thread Christopher Michael
No Attachment :( dh On 08/03/2010 02:02 PM, Lucas De Marchi wrote: > Hi guys. > > I'm attaching the output of realloc-spot-lost-pointer.cocci, showing > some places where realloc is used in a wrong manner. It's hard to fix > this issue in an automated way because there are various scenarios to >

[E-devel] bad realloc

2010-08-03 Thread Lucas De Marchi
Hi guys. I'm attaching the output of realloc-spot-lost-pointer.cocci, showing some places where realloc is used in a wrong manner. It's hard to fix this issue in an automated way because there are various scenarios to take into account (even one in which this usage is not totally wrong -- if you s