ruffle/swf/src
David Wendt 345a244ed4 `read_i32` no longer panics if more than 28 bits are defined within the read-in integer constant.
The underlying problem is actually shift overflow - on the fifth byte in the sequence, it attempts to mask bits by shifting them off the left of the value, which doesn't work here, as we'll be shifting by -3. For those unaware, shifting by a negative does NOT shift in the opposite direction, it instead gives your C compiler permission to stuff demons up your nose.

I wouldn't be surprised if this is just outright UB in Flash Player.
2020-08-10 16:38:04 -07:00
..
avm1 f64 constants in ABC files are not stored in Flash mixed-endian. 2020-08-10 16:38:04 -07:00
avm2 `read_i32` no longer panics if more than 28 bits are defined within the read-in integer constant. 2020-08-10 16:38:04 -07:00
types avm1: Implement most of flash.geom.Matrix (#303) 2020-05-20 14:54:41 +02:00
avm1.rs swf: Add custom error type for SWF/AVM1 parse errors 2019-10-10 00:55:09 -07:00
avm2.rs Merge swf-rs into ruffle repo 2019-10-02 17:25:30 -07:00
error.rs swf: Add custom error type for SWF/AVM1 parse errors 2019-10-10 00:55:09 -07:00
lib.rs swf: Fix compiling with lzma feature 2019-10-11 23:18:57 -07:00
read.rs f64 constants in ABC files are not stored in Flash mixed-endian. 2020-08-10 16:38:04 -07:00
tag_code.rs swf: Remove panic when data left over in tag 2019-10-10 21:52:41 -07:00
test_data.rs swf: Merged core::Matrix into swf::Matrix 2020-05-20 14:54:41 +02:00
types.rs core: Keep track of cursor position in drawings 2020-05-21 18:38:10 +02:00
write.rs swf: Merged core::Matrix into swf::Matrix 2020-05-20 14:54:41 +02:00