Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log and Ignore invalid SWFs file to be stripped #3247

Open
marcussacana opened this issue May 13, 2024 · 1 comment
Open

Log and Ignore invalid SWFs file to be stripped #3247

marcussacana opened this issue May 13, 2024 · 1 comment
Labels

Comments

@marcussacana
Copy link

Currently the ADT crashes when a invalid swf is in the list to be stripped, the problem is the error message does not show what is the bad file in the list.

A error message of invalid swf look like this:

java.lang.NegativeArraySizeException: -872726369
        at com.adobe.air.ipa.SWFUtils.read(SWFUtils.java)
        at com.adobe.air.ipa.SWFUtils.inspect(SWFUtils.java)
        at com.adobe.air.ipa.SWFUtils.<init>(SWFUtils.java)
        at com.adobe.air.ipa.SWFSplitter.main(SWFSplitter.java)
Exception in thread "main" com.adobe.air.InvalidInputException: Invalid input. Not a valid swf file
        at com.adobe.air.ipa.SWFSplitter.main(SWFSplitter.java)
Compilation failed while executing : ADT

Since I have more than 6000 files to be stripped will not be an easy task run each time looking for the bad ones.
I hope there are a optional argument for ignore the invalid swfs, and as well change the error message to log what is the bad swf file.

@ajwfrost
Copy link
Collaborator

We'd recently added a bit more information/logging for this area I believe (but not yet in a release) - I'll check whether it would hit the above condition and provide what you're after. Plus I would have thought we should be able to handle the different file separators (#3242) so we'll check that too....

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants