|
From: Klaus R. <kla...@rz...> - 2009-01-08 13:29:35
|
Hi,
this bug was fixed in Ming's CVS some time ago. Looks like Ming is not
up2date in Gnash's testsiute.
Cheers
Klaus
> On Thu, Jan 08, 2009 at 01:57:52PM +0100, Michael Fötsch wrote:
>
>> Hi,
>>
>> In ming 0.4.2, the count() function in src\swf5compiler.flex causes a
>> buffer overflow for input lines longer than 1023 characters (which leads
>> to a segmentation fault in the Gnash test suite).
>>
>
> Which file of the gnash test suite please ?
>
>
>> Here's a patch:
>>
>> --- swf5compiler-0.4.2.flex 2008-07-13 16:09:56.000000000 +0200
>> +++ swf5compiler.flex 2009-01-08 13:31:30.000000000 +0100
>> @@ -572,7 +572,7 @@
>> if(column < 1023)
>> msgline[column] = yytext[n];
>> }
>> - msgline[column] = 0;
>> + msgline[column < 1023 ? column : 1023] = 0;
>> }
>>
>
> Does this truncate the line ?
>
> --strk;
>
> GIS & Flash consultant/developer () ASCII Ribbon Campaign
> http://foo.keybit.net/~strk/services.html /\ Keep it simple!
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
> _______________________________________________
> Ming-devr mailing list
> Min...@li...
> https://lists.sourceforge.net/lists/listinfo/ming-devr
>
|