From 1e89644636438269bcedb50f3eabf0780d0074ac Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 29 May 2017 04:05:01 +0200 Subject: fuzz: Add some known previously crashing test cases --- .../crash-09788d7acb46b4b177422f9c4ee54556a3ad1f17 | 53 +++++++++++++++ .../crash-155c60d5c4b2778110fb4a633caa7d64eb9b99c1 | 9 +++ .../crash-348c909a0b3532977185f551eb5d2ed04e694883 | 11 ++++ .../crash-7bc172e27a2b1d4fcaf031f59d1f08fb83081e4a | 8 +++ .../crash-80c28b0e2a446665e68927dd4441c10c9a68e64e | Bin 0 -> 1730 bytes .../crash-8acf177da60ecf13c36d0da1b8e25de891980ea6 | 5 ++ .../crash-94276cf69a50e78dd6cdf079c208cb80f357cd33 | Bin 0 -> 1013 bytes .../crash-9ddb891a0ec42401eb4629e6b99e01aef7909eb9 | Bin 0 -> 4096 bytes .../crash-a8b44e1f5be4f75f00a937016ec5405bce77a0f9 | Bin 0 -> 2342 bytes .../crash-da39a3ee5e6b4b0d3255bfef95601890afd80709 | 0 .../crash-f03c680ee1c4d84c28e731752df77a61e213a24d | 72 +++++++++++++++++++++ .../leak-47b0a9f21d3affab6cfc898e5140bb53265ada07 | Bin 0 -> 4096 bytes .../leak-4c81aae70b20d9b9408b78d40999a54205bdcfb7 | Bin 0 -> 557 bytes .../leak-53bc466851eda790bd891733da5db0a7482886bf | 6 ++ .../leak-96fb453b3ba18d31e164831795a708183b5a0dac | Bin 0 -> 1156 bytes .../leak-acb3c00a83d7635638a476a4e70fc1f1caa1a5b1 | Bin 0 -> 1085 bytes .../leak-fe2cd4b1f67e0c9b21e6225a4fb4ca19eab80074 | Bin 0 -> 1915 bytes 17 files changed, 164 insertions(+) create mode 100644 fuzz/crashes/crash-09788d7acb46b4b177422f9c4ee54556a3ad1f17 create mode 100644 fuzz/crashes/crash-155c60d5c4b2778110fb4a633caa7d64eb9b99c1 create mode 100644 fuzz/crashes/crash-348c909a0b3532977185f551eb5d2ed04e694883 create mode 100644 fuzz/crashes/crash-7bc172e27a2b1d4fcaf031f59d1f08fb83081e4a create mode 100644 fuzz/crashes/crash-80c28b0e2a446665e68927dd4441c10c9a68e64e create mode 100644 fuzz/crashes/crash-8acf177da60ecf13c36d0da1b8e25de891980ea6 create mode 100644 fuzz/crashes/crash-94276cf69a50e78dd6cdf079c208cb80f357cd33 create mode 100644 fuzz/crashes/crash-9ddb891a0ec42401eb4629e6b99e01aef7909eb9 create mode 100644 fuzz/crashes/crash-a8b44e1f5be4f75f00a937016ec5405bce77a0f9 create mode 100644 fuzz/crashes/crash-da39a3ee5e6b4b0d3255bfef95601890afd80709 create mode 100644 fuzz/crashes/crash-f03c680ee1c4d84c28e731752df77a61e213a24d create mode 100644 fuzz/leaks/leak-47b0a9f21d3affab6cfc898e5140bb53265ada07 create mode 100644 fuzz/leaks/leak-4c81aae70b20d9b9408b78d40999a54205bdcfb7 create mode 100644 fuzz/leaks/leak-53bc466851eda790bd891733da5db0a7482886bf create mode 100644 fuzz/leaks/leak-96fb453b3ba18d31e164831795a708183b5a0dac create mode 100644 fuzz/leaks/leak-acb3c00a83d7635638a476a4e70fc1f1caa1a5b1 create mode 100644 fuzz/leaks/leak-fe2cd4b1f67e0c9b21e6225a4fb4ca19eab80074 diff --git a/fuzz/crashes/crash-09788d7acb46b4b177422f9c4ee54556a3ad1f17 b/fuzz/crashes/crash-09788d7acb46b4b177422f9c4ee54556a3ad1f17 new file mode 100644 index 0000000..9038147 --- /dev/null +++ b/fuzz/crashes/crash-09788d7acb46b4b177422f9c4ee54556a3ad1f17 @@ -0,0 +1,53 @@ + + + some test entitites + + copyright + © + multiple entitites + ⼠⼡⼢ + multiple entitites with characters inbetween + a⼣b⼤c⼥d + + one byte entity + + one byte entity + @ + one byte entity with text after + @z + one byte entity with text before + a@ + one byte entity with text before & after + a@z + + two-byte utf-8 + + two-byte utf-8 + Ä + two-byte utf-8 with text after + Ëyz + two-byte utf-8 with text before + abÖ + two-byte utf-8 with text before & after + abÜyz + + three byte utf-8 + + three byte utf-8 + + three byte utf-8 with text after + £xyz + three byte utf-8 with text bef&a; + abc¥ + three byte utf-8 with text before & after + (abc₩xyz + + four byte utf-8 + + four byte utf-8 + 𝕢 + with text before & after + abcd𝕥wxyz + + + diff --git a/fuzz/crashes/crash-155c60d5c4b2778110fb4a633caa7d64eb9b99c1 b/fuzz/crashes/crash-155c60d5c4b2778110fb4a633caa7d64eb9b99c1 new file mode 100644 index 0000000..9954475 --- /dev/null +++ b/fuzz/crashes/crash-155c60d5c4b2778110fb4a633caa7d64eb9b99c1 @@ -0,0 +1,9 @@ + + + + + + + -1 + 18446744073709551615 + 9223372036854775807 + -9223372036854775808 + 9223372036854775808 + + diff --git a/fuzz/crashes/crash-7bc172e27a2b1d4fcaf031f59d1f08fb83081e4a b/fuzz/crashes/crash-7bc172e27a2b1d4fcaf031f59d1f08fb83081e4a new file mode 100644 index 0000000..cda6a0f --- /dev/null +++ b/fuzz/crashes/crash-7bc172e27a2b1d4fcaf031f59d1f08fb83081e4a @@ -0,0 +1,8 @@ + + + + + Time1 + 2010-11-12T13:14:15Z + Time2 + 4016-07-0-11