summaryrefslogtreecommitdiffstats
path: root/fuzz/xplist-leaks
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-05-30 20:54:21 +0200
committerGravatar Nikias Bassen2017-05-30 20:54:21 +0200
commit94708aacf8ed0dd5ac161a726ab8c6db04c395b1 (patch)
tree21c6dacf424178cad43c07a37d5623664f4b5388 /fuzz/xplist-leaks
parent8bc2a5aaaf865c99c5e4410bb7cc0a86ed014a07 (diff)
downloadlibplist-94708aacf8ed0dd5ac161a726ab8c6db04c395b1.tar.gz
libplist-94708aacf8ed0dd5ac161a726ab8c6db04c395b1.tar.bz2
fuzz: Add crash/leak samples from OSS-Fuzz
Diffstat (limited to 'fuzz/xplist-leaks')
-rw-r--r--fuzz/xplist-leaks/clusterfuzz-testcase-4634751103139840187
-rw-r--r--fuzz/xplist-leaks/clusterfuzz-testcase-605641212166144012
2 files changed, 199 insertions, 0 deletions
diff --git a/fuzz/xplist-leaks/clusterfuzz-testcase-4634751103139840 b/fuzz/xplist-leaks/clusterfuzz-testcase-4634751103139840
new file mode 100644
index 0000000..aa1ca4e
--- /dev/null
+++ b/fuzz/xplist-leaks/clusterfuzz-testcase-4634751103139840
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pl󠁊ist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict>
+</plist>
+</plist>
+</plist>
+</plist>
+</plist></plist>
+</plist>
+</plist>
+</plist>
+</plist></plist>
+</plist>
+</plist>
+</plist>
+</plist></plist>
+</plist><plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict>
+</plist>
+</plist>
+</plist>
+</plist>
+</plist></plist>
+</plist>
+</plist>
+</plist>
+</plist></plist>
+</plist>
+</plist>
+</plist>
+</plist></plist>
+</plist><plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9rsion="1.0">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2008-07-06T05:04:03Z</date>
+ <key>Time4</key>
+ <date>1162-08-20T01:10:11Z</date>
+</dict><plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist version="1.0">
+<plist ve+/v9r \ No newline at end of file
diff --git a/fuzz/xplist-leaks/clusterfuzz-testcase-6056412121661440 b/fuzz/xplist-leaks/clusterfuzz-testcase-6056412121661440
new file mode 100644
index 0000000..be5f3f6
--- /dev/null
+++ b/fuzz/xplist-leaks/clusterfuzz-testcase-6056412121661440
@@ -0,0 +1,12 @@
+<plist version="9223372036854808575.1">
+<dict>
+ <key><![CDATA[cdata&key]]></key><key><![CDATA[cdata&key]]></key>
+ <plist version="32768.1">
+<dict>
+ <key><![CDATA[cdata&key]]></key><key><![CDATA[cdatadkey]]></key>
+ <plist version="32768.1">
+<dict>
+ <key><![CDATA[cdata&key]]></key><key><![CDATA[cdata&key]]></key>
+ <plist version="32768.1">
+<dict>
+ <key><![CDATA[cdata&key]]></key><key><![CDA