Michael Wang
fe93f9cd47
fix: refuse media paths that ffmpeg's image2 demuxer would read as a pattern ( #8047 )
...
* fix: refuse media paths that ffmpeg's image2 demuxer would read as a pattern
ffmpeg's image2 demuxer reads %d, %03d, %% and a % before a wildcard in an
input path as a pattern of other files, folders included. Every project,
private-file and received-file check approves the literal path, so a
composition could name a placeholder whose pattern reaches images outside
the project and get them back as video frames.
Every ffmpeg and ffprobe input built from a project file now goes through
assertLiteralMediaInput, which refuses such a local path before ffmpeg runs.
The engine's urlInputArgs, the parsers' mediaInputFormatArgs and the
studio-server's new mediaInputArgs all take the input path, so the CLI
snapshot and cloud offload, lint, core grade analysis and studio-server
callers are covered too. URLs and other percent signs, such as %20, are
read as before.
* build(parsers): declare the literal-media-input subpath
* build: raise the parsers packed-size budget for the literal-media-input subpath
The new subpath adds its own built entry, type file and export map rows,
about 2.7 KB packed. It is a separate module so test suites that mock
ff-binaries still run the real path check.
* test(parsers): a harmless name shaped like a pattern is refused too
2026-11-17 07:28:09 +00:00
..
2026-10-02 17:14:52 +00:00
2026-10-06 11:02:51 +00:00
2026-11-15 22:53:06 +00:00
2026-09-24 20:26:15 -04:00
2026-10-21 19:19:31 +00:00
2026-10-04 01:27:10 +00:00
2026-10-04 01:27:10 +00:00
2026-09-18 15:10:35 -04:00
2026-11-15 02:12:42 +00:00
2026-10-09 18:04:42 +00:00
2026-10-09 22:19:38 +00:00
2026-09-19 16:53:29 -04:00
2026-09-19 16:53:29 -04:00
2026-09-23 12:09:46 -04:00
2026-09-10 08:21:49 -04:00
2026-09-10 08:21:49 -04:00
2026-10-07 03:11:49 +00:00
2026-10-07 03:11:49 +00:00
2026-08-10 18:46:03 -04:00
2026-08-14 11:20:37 -07:00
2026-11-16 18:16:05 +00:00
2026-10-05 15:52:51 -07:00
2026-10-05 23:32:46 +00:00
2026-10-09 22:19:38 +00:00
2026-11-12 11:39:42 +00:00
2026-08-04 03:08:04 -07:00
2026-08-09 22:07:57 -07:00
2026-08-01 17:21:41 -07:00
2026-09-23 12:09:46 -04:00
2026-09-23 12:09:46 -04:00
2026-10-20 09:12:47 +00:00
2026-10-20 09:12:47 +00:00
2026-10-21 02:46:17 +00:00
2026-10-21 02:46:17 +00:00
2026-11-11 06:26:24 +00:00
2026-11-17 05:05:28 +00:00
2026-11-14 17:00:47 +00:00
2026-11-16 00:21:21 +00:00
2026-11-16 00:21:21 +00:00
2026-11-16 01:50:04 +00:00
2026-11-16 00:18:47 +00:00
2026-09-22 07:04:54 -04:00
2026-10-22 18:45:53 +00:00
2026-08-04 00:37:48 -07:00
2026-10-26 08:38:20 +00:00
2026-10-30 03:06:12 +00:00
2026-10-10 09:04:47 +00:00
2026-10-10 09:04:47 +00:00
2026-11-16 05:52:09 +00:00
2026-11-11 18:47:16 +00:00
2026-09-23 16:56:16 -04:00
2026-11-14 16:38:35 -05:00
2026-11-02 04:13:57 +00:00
2026-10-03 17:04:44 +00:00
2026-10-03 17:04:44 +00:00
2026-11-15 02:12:42 +00:00
2026-11-15 02:12:42 +00:00
2026-09-22 11:24:51 -04:00
2026-09-22 11:24:51 -04:00
2026-09-23 19:09:09 -04:00
2026-11-12 19:58:01 +00:00
2026-10-28 05:15:06 +00:00
2026-10-10 19:08:30 +00:00
2026-09-23 16:56:16 -04:00
2026-11-15 00:47:08 +00:00
2026-11-15 00:47:08 +00:00
2026-10-27 05:38:33 +00:00
2026-10-27 05:38:33 +00:00
2026-11-16 01:09:58 +00:00
2026-10-29 05:20:41 +00:00
2026-10-29 05:20:41 +00:00
2026-10-22 08:49:29 +00:00
2026-10-22 08:49:29 +00:00
2026-08-09 22:07:57 -07:00
2026-10-22 21:18:17 +00:00
2026-11-17 05:05:28 +00:00
2026-09-24 23:28:36 -04:00
2026-10-01 07:21:05 -07:00
2026-10-01 10:13:48 -07:00
2026-10-01 07:21:05 -07:00
2026-10-01 07:21:05 -07:00
2026-10-21 19:19:31 +00:00
2026-11-16 01:50:04 +00:00
2026-09-19 16:53:29 -04:00
2026-11-13 19:15:42 +00:00
2026-11-13 19:15:42 +00:00
2026-10-15 17:43:09 +00:00
2026-08-18 01:37:46 -04:00
2026-10-20 19:09:11 +00:00
2026-11-04 18:09:27 +00:00
2026-10-30 15:48:25 +00:00
2026-09-18 13:06:09 -04:00
2026-10-02 17:14:52 +00:00
2026-10-21 05:25:09 +00:00
2026-11-04 18:09:27 +00:00
2026-09-23 12:09:46 -04:00
2026-11-16 06:42:11 +00:00
2026-09-23 16:56:16 -04:00
2026-09-23 12:09:46 -04:00
2026-09-23 12:09:46 -04:00
2026-11-11 18:47:16 +00:00
2026-10-01 23:56:36 +00:00
2026-11-10 20:01:29 +00:00
2026-11-10 20:01:29 +00:00
2026-10-26 08:20:55 +00:00
2026-08-04 23:13:19 +00:00
2026-10-26 07:20:03 +00:00
2026-08-03 10:14:37 +02:00
2026-11-17 05:52:10 +00:00
2026-11-17 05:52:10 +00:00
2026-09-25 16:50:55 +00:00
2026-09-27 21:58:51 +00:00
2026-09-27 21:58:51 +00:00
2026-07-22 00:41:40 +08:00
2026-11-17 07:28:09 +00:00
2026-07-18 15:58:23 -04:00
2026-07-18 15:58:23 -04:00
2026-09-28 22:03:59 +00:00
2026-09-24 11:19:00 -04:00
2026-09-19 16:53:29 -04:00
2026-11-16 18:16:05 +00:00
2026-11-16 21:54:12 +00:00
2026-11-17 05:20:53 +00:00
2026-11-10 20:01:29 +00:00
2026-09-09 00:47:31 -04:00
2026-08-10 18:46:03 -04:00
2026-09-19 16:53:29 -04:00
2026-08-04 03:06:32 -07:00
2026-08-04 03:06:32 -07:00
2026-10-21 05:25:09 +00:00
2026-11-17 05:20:53 +00:00
2026-10-15 05:59:41 +00:00
2026-10-15 05:59:41 +00:00
2026-09-23 12:09:46 -04:00
2026-09-27 21:58:51 +00:00
2026-11-06 04:35:33 +00:00
2026-11-16 04:48:52 +00:00
2026-11-11 06:26:24 +00:00
2026-09-28 22:03:59 +00:00
2026-11-15 22:53:06 +00:00
2026-09-21 21:14:49 -04:00
2026-11-03 11:07:02 +00:00
2026-08-09 22:07:57 -07:00
2026-11-15 00:47:08 +00:00
2026-11-15 00:47:08 +00:00
2026-11-17 05:20:53 +00:00
2026-11-17 05:20:53 +00:00
2026-11-15 07:22:20 +00:00
2026-11-15 07:22:20 +00:00
2026-11-11 06:26:24 +00:00
2026-11-06 04:35:33 +00:00