From 4411467e0bb456f7e8856ddc34258c345e7093f0 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Sun, 19 Feb 2017 15:59:59 -0800 Subject: [PATCH] Fix crashes due to unicode output from woff2,libxml2 --- infra/base-images/base-runner/test_report | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/base-images/base-runner/test_report b/infra/base-images/base-runner/test_report index f5a63f21c..2f88e1eab 100755 --- a/infra/base-images/base-runner/test_report +++ b/infra/base-images/base-runner/test_report @@ -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