dotCooCoo
830cefcaf6
PDF import: an XMP packet nested more than 256 deep is skipped instead of overflowing the stack
...
When a PDF, PDF-compatible .ai or .ait opens, crates/pdf/src/file_info.rs
reads its File Info from the XMP packet with roxmltree, which parses
nested elements recursively and has no limit on their depth. A packet
with elements nested 10,000 deep (70 KB) overflowed a 1 MB stack, and
one nested 100,000 deep (700 KB) overflowed an 8 MB stack. A stack
overflow aborts the app.
File Info now counts how deep the packet's elements nest before roxmltree
parses it, and leaves out a packet nested more than 256 deep, as it
leaves out a packet that is not XML. The document information
dictionary then gives the File Info.
2026-10-18 12:15:31 +07:00
..
2026-10-17 15:14:42 +07:00
2026-10-16 02:56:34 +07:00
2026-10-05 12:14:56 -07:00
2026-10-17 15:14:42 +07:00
2026-10-18 12:15:31 +07:00
2026-10-13 20:41:14 -06:00
2026-10-17 14:43:14 +07:00
2026-10-16 03:36:20 +07:00
2026-10-13 21:58:01 -06:00
2026-10-12 11:02:32 +07:00
2026-10-16 06:16:35 +07:00
2026-10-16 03:36:20 +07:00
2026-10-16 03:36:20 +07:00
2026-10-17 13:20:23 +07:00
2026-10-17 19:38:50 +07:00
2026-10-05 16:25:20 +07:00
2026-10-17 16:38:41 +07:00
2026-10-05 18:05:36 +07:00
2026-10-05 15:13:10 +07:00
2026-10-17 15:14:42 +07:00
2026-10-16 03:36:20 +07:00
2026-10-05 18:05:36 +07:00
2026-10-05 18:05:36 +07:00
2026-10-16 14:58:09 +07:00
2026-10-05 18:05:36 +07:00
2026-10-16 14:58:09 +07:00
2026-10-16 03:36:19 +07:00
2026-10-05 18:05:36 +07:00
2026-10-05 07:22:27 +07:00
2026-10-05 01:09:55 +07:00
2026-10-17 13:49:48 +07:00
2026-10-17 14:43:14 +07:00
2026-10-12 11:02:32 +07:00
2026-10-05 00:59:34 +07:00
2026-10-13 18:22:14 +02:00
2026-10-05 17:19:11 +07:00
2026-10-18 12:15:31 +07:00
2026-10-05 04:43:43 +07:00
2026-10-04 23:15:13 +07:00
2026-10-16 03:36:20 +07:00
2026-10-17 19:38:50 +07:00
2026-10-14 03:59:03 -06:00
2026-10-17 13:20:23 +07:00
2026-10-16 03:36:20 +07:00
2026-10-12 19:50:53 +07:00
2026-10-13 21:58:01 -06:00
2026-10-13 20:41:14 -06:00
2026-10-16 14:58:09 +07:00
2026-10-17 15:14:42 +07:00
2026-10-05 18:05:36 +07:00
2026-10-16 04:44:31 +07:00
2026-10-05 17:19:11 +07:00
2026-10-17 15:14:42 +07:00
2026-10-17 13:06:51 +07:00
2026-10-14 03:59:03 -06:00
2026-10-14 03:59:03 -06:00
2026-10-17 19:38:46 +07:00
2026-10-09 18:06:38 +07:00
2026-10-05 00:59:34 +07:00
2026-10-05 00:59:34 +07:00
2026-10-16 15:27:54 +07:00
2026-10-12 11:02:32 +07:00
2026-10-16 06:16:35 +07:00