Fix crashes due to unicode output from woff2,libxml2

This commit is contained in:
Abhishek Arya 2017-02-19 15:59:59 -08:00 committed by GitHub
parent b4fb5be589
commit 4411467e0b
1 changed files with 3 additions and 0 deletions

View File

@ -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"?>