Systemd/test/fuzz-regressions
Zbigniew Jędrzejewski-Szmek 324d6aa926 shared/logs-show: fix mixup between length-based memory duplication and string operations
We'd look for a '=' separator using memchr, i.e. ignoring any nul bytes in the
string, but then do a strndup, which would terminate on any nul byte, and then
again do a memcmp, which would access memory past the chunk allocated by strndup.

Of course, we probably shouldn't allow keys with nul bytes in them. But we
currently do, so there might be journal files like that out there. So let's fix
the journal-reading code first.
2018-05-31 14:30:23 +02:00
..
fuzz-dns-packet
fuzz-journal-remote shared/logs-show: fix mixup between length-based memory duplication and string operations 2018-05-31 14:30:23 +02:00
fuzz-unit-file oss-fuzz: add the reproducer case by oss-fuzz #8064 2018-05-03 16:57:29 +09:00
.gitattributes Add .gitattributes for test/fuzz-regressions 2018-03-17 09:01:53 +01:00
meson.build oss-fuzz: add the reproducer case by oss-fuzz #8064 2018-05-03 16:57:29 +09:00