Initialize ICU to load ICU data file for fuzzing
A couple of fuzzers that rely on url/ didn't initialize ICU. Because url/ depends on ICU for IDN handling, this results in an assertion failure when ICU's IDN class is initialized. Initialize ICU in a test enivornment for the following fuzzers: payment_method_manifest_parser_fuzzer csv_reader_fuzzer In addition, print a human readable error message instead of a numeric error code. Bug: 754996 Test: The two fuzzers above do not fail the assertion about UIDNA. Change-Id: I942d339d1ef1d71dd5c9c4e79a774f2c2980555d Reviewed-on: https://chromium-review.googlesource.com/871350Reviewed-by:Mike West <mkwst@chromium.org> Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:
Jay Civelli <jcivelli@chromium.org> Reviewed-by:
Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by:
Abhishek Arya <inferno@chromium.org> Commit-Queue: Abhishek Arya <inferno@chromium.org> Cr-Commit-Position: refs/heads/master@{#532894}
Showing
Please register or sign in to comment