From 85c5140841969a067a4798e666d62cfb6629f069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 10 Aug 2026 03:50:53 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(engine):=20the=20crafted=20ove?= =?UTF-8?q?rflow=20line=20at=20the=20open=5Fproject=20door?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/engine/tests/saveload.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/engine/tests/saveload.rs b/crates/engine/tests/saveload.rs index 55ce569..2e1b176 100644 --- a/crates/engine/tests/saveload.rs +++ b/crates/engine/tests/saveload.rs @@ -295,6 +295,12 @@ fn malformed_files_are_numbered_errors_and_never_panics() { ("edith 1\nsource test_av.mp4\nclip 30 30 0\n", "line 3"), ("edith 1\nsource test_av.mp4\n\nclip 0 30 0\n", "line 3"), ("edith 1\nsource test_av.mp4\nwhat 1\n", "line 3"), + // Crafted numbers: `start + len` used to wrap past the top of `u32`, + // and a wrapped end walks straight through the overlap check. + ( + "edith 2\nsource test_av.mp4\nvideo 4294967290 0 30 0 -\n", + "line 3", + ), ] { std::fs::write(&path, text).expect("write"); let err = PlaybackSession::open_project(&path)