| Index: net/ftp/ftp_directory_listing_fuzzer.cc
|
| diff --git a/testing/libfuzzer/fuzzers/ftp_directory_listing_fuzzer.cc b/net/ftp/ftp_directory_listing_fuzzer.cc
|
| similarity index 93%
|
| rename from testing/libfuzzer/fuzzers/ftp_directory_listing_fuzzer.cc
|
| rename to net/ftp/ftp_directory_listing_fuzzer.cc
|
| index 0df1f27173fe372931e9734b98b3e10604a6cf04..af99891f39e295f3d1ba6e7d16c4b039fbb21866 100644
|
| --- a/testing/libfuzzer/fuzzers/ftp_directory_listing_fuzzer.cc
|
| +++ b/net/ftp/ftp_directory_listing_fuzzer.cc
|
| @@ -14,9 +14,7 @@
|
| #include "net/ftp/ftp_directory_listing_parser.h"
|
|
|
| struct TestCase {
|
| - TestCase() {
|
| - CHECK(base::i18n::InitializeICU());
|
| - }
|
| + TestCase() { CHECK(base::i18n::InitializeICU()); }
|
|
|
| // used by ICU integration.
|
| base::AtExitManager at_exit_manager;
|
| @@ -24,7 +22,6 @@ struct TestCase {
|
|
|
| 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);
|
|
|