diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2014-09-08 16:55:31 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2014-09-12 11:38:56 +0200 |
commit | 6298afabcb42ee9cd79c02505cb8f65954280e34 (patch) | |
tree | b09f8d268de0d7462002b40fcf4b07c74586943e | |
parent | f5ae660c70fbab214bdd11895178629371b91d17 (diff) |
SoupTransport: avoid uninitialized memory read
Don't depend on setSSL() to initialize the instance, because when used
as part of the upcoming oauth2 backend, setSSL() is never called.
-rw-r--r-- | src/syncevo/SoupTransportAgent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syncevo/SoupTransportAgent.cpp b/src/syncevo/SoupTransportAgent.cpp index b9a3c8de..fb5d2bd0 100644 --- a/src/syncevo/SoupTransportAgent.cpp +++ b/src/syncevo/SoupTransportAgent.cpp @@ -33,6 +33,7 @@ SE_BEGIN_CXX SoupTransportAgent::SoupTransportAgent(GMainLoop *loop) : + m_verifySSL(false), m_session(soup_session_async_new()), m_loop(loop ? g_main_loop_ref(loop) : |