ruffle/swf/src
relrelb e9167cf43c swf: Add minimal offset table enforcement in `DefineFont2/3`
Previously, the offset table and code table offset were completely
ignored. But as it seems, Flash does look into these offsets in
order to avoid exceedingly reading glyph shapes. For now, avoid
exceedingly reading empty and 1-byte glyph shapes, and add debug
assertions that verify the correctness of the offset table and code
table offset, to help diagnosing related bugs in the future.
2022-03-14 22:50:24 +02:00
..
avm1 swf: Use bitflags for `avm1::GetUrl2` 2022-01-17 21:35:57 -08:00
avm2 avm2: Fix invalid option 2022-02-12 23:35:32 +02:00
types chore: Add .cargo/config.toml for workspace-level lint config 2022-01-29 14:22:44 -08: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: Extract `Opcode::format` and `TagCode::format` 2021-08-03 14:40:59 -07:00
extensions.rs swf: General cleanup 2021-07-12 23:09:29 +03:00
lib.rs swf: General cleanup 2021-07-12 23:09:29 +03:00
read.rs swf: Add minimal offset table enforcement in `DefineFont2/3` 2022-03-14 22:50:24 +02:00
string.rs chore: Appease clippy 2021-12-08 22:36:55 +02:00
tag_code.rs swf: Extract `Opcode::format` and `TagCode::format` 2021-08-03 14:40:59 -07:00
test_data.rs swf: Use bitflags for `avm1::GetUrl2` 2022-01-17 21:35:57 -08:00
types.rs chore: Fix all new clippy lints added in latest Rust nightly 2021-12-17 20:53:26 -07:00
write.rs chore: Fix nightly clippy lint: clippy::if_then_panic (#5400) 2021-10-02 16:14:53 +03:00