summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-01-28 23:48:27 +0100
committerGravatar Nikias Bassen2022-01-28 23:48:27 +0100
commit25f2f01c2693da8cc651d80debda9ad61fa17743 (patch)
tree26f8da38f7c918efcfe0694d57fbd1c4703db0d9
parentea8933136125d07077a97c177580f93cc8c41034 (diff)
downloadlibplist-25f2f01c2693da8cc651d80debda9ad61fa17743.tar.gz
libplist-25f2f01c2693da8cc651d80debda9ad61fa17743.tar.bz2
fuzz: Add JSON crash/leak test cases from OSS-Fuzz
-rw-r--r--fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-54868076958842881
-rw-r--r--fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-57040166868746241
-rw-r--r--fuzz/jplist-leaks/clusterfuzz-testcase-minimized-jplist_fuzzer-48819332370923521
3 files changed, 3 insertions, 0 deletions
diff --git a/fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-5486807695884288 b/fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-5486807695884288
new file mode 100644
index 0000000..e440e5c
--- /dev/null
+++ b/fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-5486807695884288
@@ -0,0 +1 @@
+3 \ No newline at end of file
diff --git a/fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-5704016686874624 b/fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-5704016686874624
new file mode 100644
index 0000000..7853ee8
--- /dev/null
+++ b/fuzz/jplist-crashes/clusterfuzz-testcase-minimized-jplist_fuzzer-5704016686874624
@@ -0,0 +1 @@
+{"Some Ak this: \u-170141183460469231731687303715884040192 !!!"} \ No newline at end of file
diff --git a/fuzz/jplist-leaks/clusterfuzz-testcase-minimized-jplist_fuzzer-4881933237092352 b/fuzz/jplist-leaks/clusterfuzz-testcase-minimized-jplist_fuzzer-4881933237092352
new file mode 100644
index 0000000..d8ae3d3
--- /dev/null
+++ b/fuzz/jplist-leaks/clusterfuzz-testcase-minimized-jplist_fuzzer-4881933237092352
@@ -0,0 +1 @@
+{"Some ASCII stringtring":"Test ASCII String","Some UTF8 strnngs":["àéèçù","日本語","汉语/漢語","한국어/조선말","русский язык","الْعَرَبيّة","עִבְרִית","język polskiिन्दी"],"Keys & \"entities\"":"hellow world & others <nodes> are \"fun!?'","Boolean":false,"Anothe\uD800\uDC00rue,"Some Int":32434543632,"Some String with Unicode entity":"Yeah check this: \u1234 !!!"} \ No newline at end of file