Zbigniew Jędrzejewski-Szmek
44468876c3
fuzz-systemctl-parse-argv: refuse commandlines above 1k entries
...
oss-fuzz reports timeouts which are created by appending to a very long strv.
The code is indeed not very efficient, but it's designed for normal
command-line use, where we don't expect more than a dozen of entries. The fact
that it is slow with ~100k entries is not particularly interesting.
In the future we could rework the code to have better algorithmic complexity.
But let's at least stop oss-fuzz from wasting more time on such examples.
(My first approach was to set max_len in .options, but apparently this doesn't
work for hongfuzz and and AFL.)
oss-fuzz-34527: https://oss-fuzz.com/issue/5722283944574976
2022-05-08 22:47:50 +02:00
..
2022-05-08 22:47:50 +02:00
2022-01-11 14:15:54 +01:00
2022-02-22 14:15:08 +01:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-02-22 11:36:29 +01:00
2020-11-09 13:23:58 +09:00
2021-08-03 10:05:10 +02:00
2020-11-09 13:23:58 +09:00
2021-12-09 15:07:40 +01:00
2020-11-09 13:23:58 +09:00
2022-02-22 14:15:08 +01:00
2021-02-08 12:17:24 +01:00
2022-02-22 14:15:08 +01:00
2022-02-22 14:15:08 +01:00
2022-03-29 16:17:57 +02:00
2022-02-22 14:15:07 +01:00
2022-03-29 16:17:56 +02:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-03-29 16:17:57 +02:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-03-31 22:11:32 +01:00
2022-03-31 22:11:32 +01:00
2022-03-18 10:22:20 +01:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2021-12-09 15:07:40 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:08 +01:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:08 +01:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-03-19 08:33:33 +09:00
2022-02-22 14:15:07 +01:00
2022-04-17 14:30:46 +09:00
2022-02-22 14:15:07 +01:00
2022-03-29 21:10:03 +02:00
2022-02-22 14:15:07 +01:00
2022-03-29 16:17:57 +02:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-03-29 16:17:57 +02:00
2020-11-09 13:23:58 +09:00
2022-02-22 14:15:07 +01:00
2022-02-22 14:15:07 +01:00
2022-03-29 16:17:57 +02:00
2020-11-09 13:23:58 +09:00
2022-03-29 16:17:57 +02:00
2022-03-29 16:17:57 +02:00
2021-01-27 21:57:35 +01:00