mirror of https://github.com/google/oss-fuzz.git
Fix crashes due to unicode output from woff2,libxml2
This commit is contained in:
parent
b4fb5be589
commit
4411467e0b
|
@ -60,6 +60,9 @@ for FUZZER_BINARY in $(find $OUT/ -executable -type f); do
|
|||
TESTNAME="${TEST_SUITE:-}$FUZZER"
|
||||
|
||||
OUT_TXT=$(cat $FUZZER_STDOUT)
|
||||
|
||||
# Strip non-ascii characters.
|
||||
OUT_TXT=${OUT_TXT//[^[:ascii:]]/}
|
||||
|
||||
REPORT_TEXT=$(cat <<-EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
|
Loading…
Reference in New Issue