Henrik Rydgård
788150c28e
Fix out-of-bounds reads in PGF font parsing
...
PGF::ReadPtr walked four length-prefixed tables and computed table sizes
before any bounds check, and used signed 32-bit size math that could
overflow, allowing a crafted font to read past the input buffer.
- Validate the total size of all tables up front using 64-bit math.
- Check the rev3 extra header fits before reading it.
- Cap charPointerLength/charMapLength/shadowMapLength to avoid absurd
allocations.
- Bounds-check glyph data offsets before reading each glyph.
Also throw in a warning fix
2026-08-01 11:57:27 +02:00
..
2026-07-26 21:17:09 +02:00
2026-07-31 20:54:17 +02:00
2026-07-31 20:54:17 +02:00
2026-08-01 11:57:27 +02:00
2026-07-31 20:54:13 +02:00
2026-08-01 11:57:27 +02:00
2026-08-01 11:57:27 +02:00
2026-07-24 14:43:34 +02:00
2026-07-13 11:25:37 +02:00
2026-08-01 11:57:27 +02:00
2026-06-02 11:15:08 +02:00
2026-07-26 13:10:50 -07:00
2026-07-29 18:55:00 +02:00
2026-07-29 18:55:00 +02:00
2026-06-27 13:02:47 +02:00
2026-06-27 13:02:47 +02:00
2026-07-30 10:03:15 +02:00
2026-07-27 23:41:13 +02:00
2026-05-17 21:28:31 +03:00
2026-07-27 18:37:26 +02:00
2026-06-16 10:57:52 +02:00
2026-06-16 10:57:52 +02:00
2026-07-28 00:15:41 +02:00
2026-07-27 18:37:26 +02:00
2026-07-26 13:58:17 +02:00
2026-07-26 13:58:17 +02:00
2026-07-29 16:27:33 +02:00
2026-06-12 17:28:52 +02:00
2026-06-12 12:23:36 +02:00
2026-04-24 14:41:47 +02:00
2026-04-24 14:41:47 +02:00
2026-07-26 13:58:17 +02:00
2026-07-26 13:42:16 +02:00
2026-05-11 11:45:04 +02:00
2026-03-05 23:05:35 +01:00
2026-06-03 18:49:10 +02:00
2026-07-08 19:32:37 +02:00
2026-07-08 12:04:15 +02:00
2026-07-28 00:15:41 +02:00
2026-07-29 18:38:25 +02:00
2026-07-27 23:44:14 +02:00
2026-08-01 11:41:24 +02:00
2026-07-29 16:27:33 +02:00
2026-07-28 00:16:12 +02:00
2026-07-27 18:37:28 +02:00
2026-08-01 11:57:24 +02:00
2026-05-19 11:07:07 +02:00
2026-05-19 12:19:40 +02:00
2026-05-19 11:58:01 +02:00
2026-06-10 10:41:30 +02:00
2026-07-29 16:27:33 +02:00
2026-07-23 15:04:04 -04:00