Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1134)

Unified Diff: net/spdy/fuzzing/hpack_fuzz_wrapper.cc

Issue 268943002: Add hpack_fuzz_wrapper to chromium_builder_asan (re-apply). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also disable warning C4267. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/fuzzing/hpack_fuzz_mutator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/fuzzing/hpack_fuzz_wrapper.cc
diff --git a/net/spdy/fuzzing/hpack_fuzz_wrapper.cc b/net/spdy/fuzzing/hpack_fuzz_wrapper.cc
index 63aa114bab1b762dbe3737c8fb1f93c51c02dc4e..35480822cc5f4f391734a2e2e9d6560273ce5d67 100644
--- a/net/spdy/fuzzing/hpack_fuzz_wrapper.cc
+++ b/net/spdy/fuzzing/hpack_fuzz_wrapper.cc
@@ -35,7 +35,8 @@ int main(int argc, char** argv) {
DVLOG(1) << "Reading input from " << file_to_parse;
HpackFuzzUtil::Input input;
- CHECK(base::ReadFileToString(base::FilePath(file_to_parse), &input.input));
+ CHECK(base::ReadFileToString(base::FilePath::FromUTF8Unsafe(file_to_parse),
+ &input.input));
HpackFuzzUtil::FuzzerContext context;
HpackFuzzUtil::InitializeFuzzerContext(&context);
« no previous file with comments | « net/spdy/fuzzing/hpack_fuzz_mutator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698