vectorcraft/crates/engine/tests
bflatastic 991ce2c635 Importers: PDF streams the reader would fail on are refused (#1700, #1701)
hayro (0.7.2 and 0.8.0 alike) inflates Flate and LZW data with no ceiling, so a few megabytes
of zeros ask for gigabytes, and applies a predictor before checking its parameters: Columns 0
divides by zero (a panic, an abort on the web), a huge Columns allocates a row that large (an
abort everywhere). Both happen inside the reader, before any of our limits.

A file is refused ("a stream in it would decode to more than 256 MB, or its decode parameters
can't be applied") when a stream's decode parameters ask for a predictor the reader can't apply,
or when it decodes past 256 MB through Flate, LZW, run-length and the ASCII encodings before
them, decoded here with a ceiling (only streams large enough to get there are decoded). Every
object's stream is looked at once the file is open (decrypted, references followed), with the
inline images of anything that can be content; object and cross-reference streams, which the
reader decodes while it opens the file, are looked at first in the file's text.
2026-10-14 10:13:45 +07:00
..
affinity_artboards.rs M11: honor Move Artwork in artboard coordinate edits 2026-10-10 09:49:24 +02:00
affinity_corpus.rs Part of #666: Affinity rectangles keep per-corner radii and straight corners 2026-10-12 15:41:46 +07:00
affinity_text.rs Type: stylistic sets, alternates, titling, figure styles, superscript and subscript 2026-10-13 13:36:40 +07:00
artboard_click.rs fix: the Artboard tool creates an artboard from a clicked shape (#1227) 2026-10-12 15:17:12 +07:00
clear_commands.rs Delete removes every selected anchor and keeps the remainder selected 2026-10-14 03:55:40 +07:00
color_settings.rs Render: live objects are evaluated again when patterns, symbols, fonts or color settings change 2026-10-14 04:56:29 +07:00
command_sweep.rs Part of #1377: Rectangular Grid and Polar Grid tool options (skew, frame, compound path, fill) 2026-10-12 19:22:36 +07:00
compound_attributes.rs fix: 複合パスの外観と塗り規則を修正する #1197 2026-10-12 00:12:52 +07:00
eyedropper_sources.rs fix: ロック中と隔離の外側の図形から色を取得する #1251 2026-10-12 07:25:43 +07:00
font_folder.rs Review fixes for #792: build expected test paths with the platform's separator 2026-10-10 09:07:53 +07:00
import_fuzz.rs Importers: PDF streams the reader would fail on are refused (#1700, #1701) 2026-10-14 10:13:45 +07:00
inline_text.rs M7: inline symbols in text 2026-10-08 15:45:34 -07:00
known_bugs.rs Robustness: VectorCraft never crashes — no panics in shipped code 2026-10-05 06:28:59 +07:00
lossy_overwrite.rs Part of #637: the editing data's structure read whole, colours, gradients, transparency, names, images and artboards included 2026-10-09 16:02:36 +07:00
model_based.rs Fix #1697: a failed command.batch restores each document whole 2026-10-14 08:47:10 +07:00
open_relative_path.rs Open by a relative path finds relative links; convert reports import warnings 2026-10-13 13:36:40 +07:00
param_keys.rs Effects: effect.apply and effect.setParams refuse parameters the effect doesn't take (#1592) 2026-10-13 11:53:38 +07:00
pen_click_after_smooth.rs Pen: test that a click after a smooth anchor curves from its side only 2026-10-14 03:55:41 +07:00
pen_endpoint_picking.rs #1244: undo history bounded by bytes, without lookup tables or repeated selections in its steps 2026-10-12 11:02:17 +07:00
plugin_fuzz.rs Fix #121: sandboxed WebAssembly plug-ins: object filters and live effects 2026-10-06 00:19:41 +07:00
ruler_origin.rs feat: change and reset the ruler origin (#1212) 2026-10-12 15:17:24 +07:00
selection_commands.rs MCP: select.key checks its id, and agents can read the key object 2026-10-12 00:16:23 +07:00
stroke_visibility.rs Appearance panel: a stroke colour on an unpainted zero-width stroke restores 1 pt too (#1253) 2026-10-12 07:25:31 +07:00
text_import_fuzz.rs CI: isolate text import fuzzing from installed fonts 2026-10-14 03:55:41 +07:00