summaryrefslogtreecommitdiff
path: root/test/fuzz/fuzz-journal-remote
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-23 20:51:13 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-25 08:51:21 +0200
commit85fbebe61a1aec2f86e36fb464283b6b55d3d76d (patch)
tree3bfdcdef59f5bee19f10a35d38e8850c48114f2c /test/fuzz/fuzz-journal-remote
parentdb3b8d5d412bf905a77920f447d104dce09e00fb (diff)
downloadsystemd-85fbebe61a1aec2f86e36fb464283b6b55d3d76d.tar.gz
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/fuzz-journal-remote')
-rw-r--r--test/fuzz/fuzz-journal-remote/oss-fuzz-21122bin0 -> 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
new file mode 100644
index 0000000000..e0e05e1675
--- /dev/null
+++ b/test/fuzz/fuzz-journal-remote/oss-fuzz-21122
Binary files differ