Fuzzer for all 4 HttpAuthHandlers
Essentially a copy of the HttpAuthHandlerDigestFuzzer with a bit of
extra logic to exercise the retrieval of specific scheme factories and
then remove the bit of input massaging to make it specific to digest.
Fixed: 599584
Change-Id: Iceb4d9985b02e0d6de7edd7de3059a90a7050ba7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2349980
Commit-Queue: Eric Orth <[email protected]>
Auto-Submit: Eric Orth <[email protected]>
Reviewed-by: Eric Roman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#797828}
diff --git a/net/BUILD.gn b/net/BUILD.gn
index bc526e8e..808dc52 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -5365,6 +5365,16 @@
]
}
+fuzzer_test("net_http_auth_handler_fuzzer") {
+ sources = [ "http/http_auth_handler_fuzzer.cc" ]
+ deps = [
+ ":net_fuzzer_test_support",
+ ":test_support",
+ "//base",
+ "//net",
+ ]
+}
+
fuzzer_test("net_http_content_disposition_fuzzer") {
sources = [ "http/http_content_disposition_fuzzer.cc" ]
dict = "data/fuzzer_dictionaries/net_http_content_disposition_fuzzer.dict"