[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] swftools bugs

From: Benjamin Wolsey
Subject: [Swftools-common] swftools bugs
Date: Wed, 17 Jun 2009 12:09:18 +0200

We are using as3compile to test Gnash's new AS3 interpreter (which isn't
yet usable). It's been a great help so far, and is a really excellent
tool. Is there somewhere to make bug reports, or do they belong on this

Either way, my two bug reports are below:

For me swfcombine (CVS head) won't build as long as these lines are in
swfcombine.c. I don't see this FILEATTRIBUTE_USENETWORK constant defined
anywhere in the source:

        newswf.fileAttributes &= ~FILEATTRIBUTE_USENETWORK;
        newswf.fileAttributes |= FILEATTRIBUTE_USENETWORK;

Secondly, the following syntax causes a segfault in as3compile:

for (i in obj) {}

where obj is an object. The problem is line 1687 of lib/as3/parser.y, at
a guess because var is used uninitialized. The following is fine:

for (var i in obj) {}

I'm prepared to believe that the former should be rejected as invalid
syntax, but perhaps not using a segfault :)

I'm happy to add them to a tracker if there is one.


Free Flash, use Gnash

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]