diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-06-23 20:51:13 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-06-25 08:51:21 +0200 |
commit | 85fbebe61a1aec2f86e36fb464283b6b55d3d76d (patch) | |
tree | 3bfdcdef59f5bee19f10a35d38e8850c48114f2c /test/fuzz | |
parent | fuzz-udev-rules: rewrite to not require root privileges (diff) | |
download | systemd-85fbebe61a1aec2f86e36fb464283b6b55d3d76d.tar.xz systemd-85fbebe61a1aec2f86e36fb464283b6b55d3d76d.zip |
journal: fix buffer overrun when urlifying
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21122.
message is only valid until message_len, and we need to make sure we're not
reading pass that. Bug introduced in 2108b56749ebb8d17f06d08b6ada2f79ae4f0.
Diffstat (limited to 'test/fuzz')
-rw-r--r-- | test/fuzz/fuzz-journal-remote/oss-fuzz-21122 | bin | 0 -> 35798 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-journal-remote/oss-fuzz-21122 b/test/fuzz/fuzz-journal-remote/oss-fuzz-21122 Binary files differnew file mode 100644 index 0000000000..e0e05e1675 --- /dev/null +++ b/test/fuzz/fuzz-journal-remote/oss-fuzz-21122 |