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

Unified Diff: net/ftp/ftp_directory_listing_fuzzer.cc

Issue 1760973002: Initialize ICU before running any of the //net fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark as testonly Created 4 years, 10 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/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_directory_listing_fuzzer.cc
diff --git a/net/ftp/ftp_directory_listing_fuzzer.cc b/net/ftp/ftp_directory_listing_fuzzer.cc
index af99891f39e295f3d1ba6e7d16c4b039fbb21866..459379e3eef89b0fcdb7173cbad9360a8c195fe2 100644
--- a/net/ftp/ftp_directory_listing_fuzzer.cc
+++ b/net/ftp/ftp_directory_listing_fuzzer.cc
@@ -8,20 +8,9 @@
#include <string>
#include <vector>
-#include "base/at_exit.h"
-#include "base/i18n/icu_util.h"
#include "base/time/time.h"
#include "net/ftp/ftp_directory_listing_parser.h"
-struct TestCase {
- TestCase() { CHECK(base::i18n::InitializeICU()); }
-
- // used by ICU integration.
- base::AtExitManager at_exit_manager;
-};
-
-TestCase* test_case = new TestCase();
-
// Entry point for LibFuzzer.
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::string buffer(reinterpret_cast<const char*>(data), size);
« no previous file with comments | « net/base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698