Skip to content

swf: avm1: Ignore bad ActionTry opcodes and bad ConstantPool strings #11957

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

Merged
merged 2 commits into from
Jul 15, 2023

Conversation

Lord-McSweeney
Copy link
Collaborator

@Lord-McSweeney Lord-McSweeney commented Jul 8, 2023

Fixes #2717, fixes #9785 (both issues described).

I'm not sure how to write a test for this, apart from creating a SWF and manually hex-editing Action data.

@Lord-McSweeney Lord-McSweeney changed the title swf: Ignore bad ActionTry opcodes swf: avm1: Ignore bad ActionTry opcodes and bad ConstantPool strings Jul 8, 2023
@Dinnerbone Dinnerbone merged commit 3e19321 into ruffle-rs:master Jul 15, 2023
@Lord-McSweeney Lord-McSweeney deleted the patch-2 branch July 15, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Troyis Chess: Couldn't parse SWF web: Darts - Unknown AVM1 opcode: Unknown { opcode: 137, data: [213, 72] }
2 participants