Nikita Popov
141c4be70a
Limit unserialization element count more aggressively
...
This is slightly more aggressive about rejecting obviously incorrect
element counts. Previously the number of elements was allowed to
match the number of characters. Now it is the number of characters
divided by two (this can actually be increased further to at least 4).
This doesn't really matter in the grand scheme of things (as it
just cuts maximum memory usage by half), but should fix
oss-fuzz #29356 .
2021-01-15 17:07:51 +01:00
..
2021-01-15 12:21:24 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-01 23:04:28 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-01 23:04:28 +01:00
2021-01-15 12:33:06 +01:00
2020-11-24 11:52:43 +01:00
2020-10-26 11:06:10 +01:00
2020-11-27 11:18:10 +01:00
2020-09-02 15:10:41 +02:00
2021-01-04 11:41:52 +01:00
2020-06-17 13:04:01 +00:00
2020-04-14 15:16:26 +00:00
2020-09-07 21:35:48 +03:00
2020-06-24 13:40:27 +02:00
2020-06-24 13:40:27 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-07-06 21:13:34 +02:00
2020-04-03 15:41:41 +02:00
2020-09-29 14:50:40 +02:00
2021-01-15 12:33:06 +01:00
2020-09-29 14:50:40 +02:00
2020-06-24 09:55:19 +02:00
2020-09-21 16:25:31 +02:00
2020-06-08 10:38:45 +02:00
2020-05-14 13:35:12 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-09-08 15:23:23 +02:00
2020-06-08 10:38:45 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-09-07 21:35:48 +03:00
2020-09-03 14:23:18 +02:00
2020-09-03 14:23:18 +02:00
2020-12-27 22:40:25 +01:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2020-09-15 14:26:16 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-09-08 14:28:49 +02:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-08-28 11:14:43 +02:00
2021-01-04 10:13:54 +01:00
2020-06-08 10:38:45 +02:00
2021-01-15 12:33:06 +01:00
2020-07-06 21:13:34 +02:00
2020-10-09 16:12:08 +02:00
2020-09-22 23:05:12 +01:00
2021-01-15 12:33:06 +01:00
2020-09-15 14:26:16 +02:00
2021-01-15 12:33:06 +01:00
2020-12-13 14:14:07 +01:00
2020-09-22 11:19:02 +02:00
2021-01-15 12:33:06 +01:00
2021-01-04 14:20:49 +01:00
2020-09-23 10:07:58 +02:00
2021-01-14 12:11:11 +01:00
2020-04-03 15:41:41 +02:00
2020-09-22 23:05:12 +01:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2020-04-03 15:41:41 +02:00
2020-09-07 21:35:48 +03:00
2020-06-24 13:40:27 +02:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2020-04-03 15:41:41 +02:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2020-03-18 19:56:10 +01:00
2020-10-09 15:08:29 +02:00
2020-06-08 10:38:45 +02:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2020-09-15 14:26:16 +02:00
2020-08-07 12:35:30 +02:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2020-06-08 10:38:45 +02:00
2020-08-03 13:28:51 -04:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2020-05-14 10:25:52 +02:00
2020-07-06 21:13:34 +02:00
2020-04-03 15:41:41 +02:00
2020-07-06 21:13:34 +02:00
2021-01-15 12:33:06 +01:00
2020-08-26 12:59:43 +02:00
2021-01-15 12:33:06 +01:00
2020-12-13 14:14:07 +01:00
2020-09-22 11:44:35 +02:00
2021-01-15 12:33:06 +01:00
2020-04-03 15:41:41 +02:00
2021-01-15 12:33:06 +01:00
2020-07-06 21:13:34 +02:00
2020-07-06 21:13:34 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-06-08 10:38:45 +02:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2021-01-15 12:33:06 +01:00
2020-08-13 14:47:18 +02:00
2021-01-15 12:33:06 +01:00
2020-08-13 14:47:18 +02:00
2020-09-22 12:39:39 +02:00
2021-01-15 17:07:51 +01:00
2021-01-15 12:33:06 +01:00
2020-12-13 23:55:33 +01:00