ruffle/core
David Wendt 2c87888e28 Implement prototype chain recursion limit of 255 prototypes.
In Flash, this also at least claims to halt ActionScript execution on the movie. No such implementation of AVM poisoning currently exists in Ruffle, primarily because it's unclear what gets poisoned and implementing some of these options isn't yet possible:

1. AVM (e.g. all movies) - we would need to make the AVM fail silently in this case. This is the most straightforward way to poison the movie, but I'm not sure if this is how Flash actually does it, or if it poisons...
2. Movie - the current structure of movies is incompatible with adding arbitrary data to them. We need to merge `moviefetch` in before we can attach data to loaded movies.
3. MovieClip - this would also be implementable but has problems. How do child MovieClips know that their parent has been poisoned, or vice versa? What if a movie clip is loaded from one movie and moved into another?

As a result, I have decided to hold off on implementing recursion poisoning until I know where it's supposed to go and how to implement that.
2019-11-27 08:59:16 -05:00
..
assets text: Add dummy implementation of device text 2019-10-07 23:23:45 -07:00
src Implement prototype chain recursion limit of 255 prototypes. 2019-11-27 08:59:16 -05:00
tests Add a test to see if the avm crashes with recursive prototypes. 2019-11-26 23:38:34 +01:00
Cargo.toml build(deps): bump gc-arena-derive from 0.1.1 to 0.2.0 2019-11-22 18:07:50 +00:00