1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00
systemd/test/fuzz/fuzz-journald-kmsg
Zbigniew Jędrzejewski-Szmek e17c95af8e sd-device: do no allocate strings of unknown length on the stack
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33881.

Not only we would duplicate unknown input on the stack, we would do it
over and over. So let's first check that the input has reasonable length,
but also allocate just one fixed size buffer.
2021-05-05 17:15:04 +02:00
..
basic tests: add a fuzzer for dev_kmsg_record 2018-11-16 08:44:35 +01:00
crash-c6c04d83e73f3d1417bc0afce8fa81b99f955963 tests: add a reproducer for a heap-buffer-overflow fixed in 937b117137 2018-11-16 08:45:16 +01:00
dev-null tests: add a fuzzer for dev_kmsg_record 2018-11-16 08:44:35 +01:00
leak-ab161e601e82f1ec31d11e2cbae2747834ce9e43 tests: add a reproducer for a memory leak fixed in 30eddcd51b in August 2018-11-16 08:45:16 +01:00
loopback tests: add a fuzzer for dev_kmsg_record 2018-11-16 08:44:35 +01:00
oss-fuzz-33881 sd-device: do no allocate strings of unknown length on the stack 2021-05-05 17:15:04 +02:00
subsystem-loopback tests: add a fuzzer for dev_kmsg_record 2018-11-16 08:44:35 +01:00