Fuzz target for `parseXML` with 2 crashing testcases #8
Labels
Comments
jmdavis
added a commit
that referenced
this issue
May 4, 2018
This will be released in 0.3.2. |
jmdavis
added a commit
that referenced
this issue
May 4, 2018
@jmdavis |
Drat. I read through the issue too quickly and missed that there were two failing test cases. I'll fix it during the hackathon then. |
Okay. That second case should also be fixed now. |
Starting the fuzzer again! ;-) |
New crash: |
Fuzz target that should work with 1.8.0
|
jmdavis
added a commit
that referenced
this issue
May 8, 2018
jmdavis
added a commit
that referenced
this issue
May 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The (libFuzzer) fuzz target I used is:
Compiled with LDC 1.9:
bin/ldc2 -g -i -fsanitize=fuzzer fuzz_dxml.d
Error:
core.exception.RangeError@std/utf.d(3324): Range violation
testcase:
[0x3c,0xff,0x3e,0x3e,0x3a,0x3c,0x2f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x31,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xd8,0xd8,0xd8,0xd8,0xd8,0xff,0xff,0xff]
Error:
core.exception.AssertError@dxml/parser.d(5466): Assertion failure
testcase:
[0x3c,0x3f]
(perhaps add this fuzz target, and others, to a dedicated
/fuzz/
folder, see e.g. https://github.com/openssl/openssl/tree/master/fuzz)The text was updated successfully, but these errors were encountered: