flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [09/10] git commit: [flex-sdk] [refs/heads/develop] - Fix a bug in SWFDump
Date Fri, 11 Oct 2013 06:19:24 GMT
Fix a bug in SWFDump


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/90aa204d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/90aa204d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/90aa204d

Branch: refs/heads/develop
Commit: 90aa204da1f5d4f038ebd3e555c5402f48fcaa76
Parents: 23d9fda
Author: Alex Harui <aharui@apache.org>
Authored: Thu Oct 10 21:09:16 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Oct 10 23:18:39 2013 -0700

----------------------------------------------------------------------
 modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/90aa204d/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
----------------------------------------------------------------------
diff --git a/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java b/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
index 4fe4198..73c7e3f 100644
--- a/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
+++ b/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
@@ -771,6 +771,8 @@ public class AbcPrinter
         	if (mn.kind != 0x1D)
         		continue;
         	MultiName typeName = mn.typeName;
+        	if (typeName == null) // this came up as null in a working SWF.
+        		continue;
         	if (typeName.kind == 0x1D)
         		out.println(kAbcCorrupt + "typename is also a typename");
         	HashMap<MultiName, String> seenMap = new HashMap<MultiName, String>();


Mime
View raw message