summaryrefslogtreecommitdiff
path: root/fuzzer
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2020-05-06 17:02:51 +0100
committerMichael Meeks <michael.meeks@collabora.com>2020-05-06 23:12:12 +0200
commit18c4301a1f26e5630b24db532a532baafb6cd57f (patch)
tree2d16d8891e3b218f605b8ad1421b5e7fe227ee60 /fuzzer
parent824331364c3d3d4521f7ba85a71990600df17f81 (diff)
Proxy: re-factor proxy handling into ServerURL and cleanup copy/paste.
Also adds ServiceRoot handling for clipboard. Change-Id: I7bc6591130fcc7d693e59ab8561fb9e99f4e93d5 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93578 Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'fuzzer')
-rw-r--r--fuzzer/ClientSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzer/ClientSession.cpp b/fuzzer/ClientSession.cpp
index 844fa0c80..a9a6ad657 100644
--- a/fuzzer/ClientSession.cpp
+++ b/fuzzer/ClientSession.cpp
@@ -21,9 +21,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
std::shared_ptr<ProtocolHandlerInterface> ws;
std::string id;
bool isReadOnly = false;
- const std::string hostNoTrust;
+ const ServerURL serverURL("", "");
auto session
- = std::make_shared<ClientSession>(ws, id, docBroker, uriPublic, isReadOnly, hostNoTrust);
+ = std::make_shared<ClientSession>(ws, id, docBroker, uriPublic, isReadOnly, serverURL);
std::string input(reinterpret_cast<const char*>(data), size);
std::stringstream ss(input);