gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_fi


From: Bastiaan Jacques
Subject: Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1982-g66b47f4
Date: Fri, 16 May 2014 15:51:14 +0200 (CEST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Wed, 14 May 2014, Bastiaan Jacques wrote:

+                if (num_move_bits > 0) {

...

+                } else {
+                    IF_VERBOSE_MALFORMED_SWF(
+                        log_swferror(_("Shape move-to missing destination"));
+                    );
+                }

I'm in doubt as to whether I correctly identified this as a malformed
SWF. Adobe's SWF specification states that integers should be
zero-padded as needed. With charity, one could extend this notion to
'integers' taking zero bits: fill the remaining bits (i.e., all of them)
with zeros, and the resulting integer is zero.

So the situation above could be taken as legitimately calling moveTo(0,
0). I suppose a test could show whether this is what the pp does, but
not whether this is in-spec.

Bastiaan



reply via email to

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