teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0148-tests-add-reproducers-for-several-issues-uncovered-w.patch

ff6046
From 8918fcc041a7f58e55d6d2b40e8dc3c396819b67 Mon Sep 17 00:00:00 2001
ff6046
From: Evgeny Vereshchagin <evvers@ya.ru>
ff6046
Date: Sun, 2 Sep 2018 18:13:31 +0000
ff6046
Subject: [PATCH] tests: add reproducers for several issues uncovered with
ff6046
 fuzz-journald-syslog
ff6046
ff6046
This is a follow-up to a70f343cacf03ac51cdefb0d2e.
ff6046
ff6046
(cherry picked from commit 3311c74d0560e4aa6a223f5e288a5fbf2404d3fa)
ff6046
ff6046
Resolves: #1696224
ff6046
---
ff6046
 test/fuzz-regressions/fuzz-journald-syslog/github-9795 | 1 +
ff6046
 test/fuzz-regressions/fuzz-journald-syslog/github-9820 | 1 +
ff6046
 test/fuzz-regressions/fuzz-journald-syslog/github-9827 | 1 +
ff6046
 test/fuzz-regressions/fuzz-journald-syslog/github-9829 | 1 +
ff6046
 test/fuzz-regressions/meson.build                      | 4 ++++
ff6046
 5 files changed, 8 insertions(+)
ff6046
 create mode 100644 test/fuzz-regressions/fuzz-journald-syslog/github-9795
ff6046
 create mode 100644 test/fuzz-regressions/fuzz-journald-syslog/github-9820
ff6046
 create mode 100644 test/fuzz-regressions/fuzz-journald-syslog/github-9827
ff6046
 create mode 100644 test/fuzz-regressions/fuzz-journald-syslog/github-9829
ff6046
ff6046
diff --git a/test/fuzz-regressions/fuzz-journald-syslog/github-9795 b/test/fuzz-regressions/fuzz-journald-syslog/github-9795
ff6046
new file mode 100644
ff6046
index 0000000000..0519ecba6e
ff6046
--- /dev/null
ff6046
+++ b/test/fuzz-regressions/fuzz-journald-syslog/github-9795
ff6046
@@ -0,0 +1 @@
ff6046
+ 
ff6046
\ No newline at end of file
ff6046
diff --git a/test/fuzz-regressions/fuzz-journald-syslog/github-9820 b/test/fuzz-regressions/fuzz-journald-syslog/github-9820
ff6046
new file mode 100644
ff6046
index 0000000000..55e1bb5967
ff6046
--- /dev/null
ff6046
+++ b/test/fuzz-regressions/fuzz-journald-syslog/github-9820
ff6046
@@ -0,0 +1 @@
ff6046
+<13>Aug  4 04:08:03 something-is-about-to-go-wrong:
ff6046
\ No newline at end of file
ff6046
diff --git a/test/fuzz-regressions/fuzz-journald-syslog/github-9827 b/test/fuzz-regressions/fuzz-journald-syslog/github-9827
ff6046
new file mode 100644
ff6046
index 0000000000..6787e487a4
ff6046
--- /dev/null
ff6046
+++ b/test/fuzz-regressions/fuzz-journald-syslog/github-9827
ff6046
@@ -0,0 +1 @@
ff6046
+<>
ff6046
\ No newline at end of file
ff6046
diff --git a/test/fuzz-regressions/fuzz-journald-syslog/github-9829 b/test/fuzz-regressions/fuzz-journald-syslog/github-9829
ff6046
new file mode 100644
ff6046
index 0000000000..22ded55aa2
ff6046
--- /dev/null
ff6046
+++ b/test/fuzz-regressions/fuzz-journald-syslog/github-9829
ff6046
@@ -0,0 +1 @@
ff6046
+:
ff6046
\ No newline at end of file
ff6046
diff --git a/test/fuzz-regressions/meson.build b/test/fuzz-regressions/meson.build
ff6046
index 3a2c306492..74fd88cfcd 100644
ff6046
--- a/test/fuzz-regressions/meson.build
ff6046
+++ b/test/fuzz-regressions/meson.build
ff6046
@@ -18,6 +18,10 @@ fuzz_regression_tests = '''
ff6046
         fuzz-journal-remote/crash-96dee870ea66d03e89ac321eee28ea63a9b9aa45
ff6046
         fuzz-journal-remote/oss-fuzz-8659
ff6046
         fuzz-journal-remote/oss-fuzz-8686
ff6046
+        fuzz-journald-syslog/github-9795
ff6046
+        fuzz-journald-syslog/github-9820
ff6046
+        fuzz-journald-syslog/github-9827
ff6046
+        fuzz-journald-syslog/github-9829
ff6046
         fuzz-unit-file/oss-fuzz-6884
ff6046
         fuzz-unit-file/oss-fuzz-6885
ff6046
         fuzz-unit-file/oss-fuzz-6886