Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include <string> | |
| 6 | |
| 7 #include "net/http/http_auth_challenge_tokenizer.h" | |
| 8 #include "net/http/http_util.h" | |
| 9 | |
| 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { | |
| 11 std::string input(reinterpret_cast<const char*>(data), size); | |
| 12 net::HttpAuthChallengeTokenizer tokenizer(input.begin(), input.end()); | |
| 13 net::HttpUtil::NameValuePairsIterator parameters = tokenizer.param_pairs(); | |
| 14 while (parameters.GetNext()) { | |
| 15 } | |
|
asanka
2016/09/09 15:27:29
I'd also call base64_param() on it. There's some l
| |
| 16 return 0; | |
| 17 } | |
| OLD | NEW |