[Libreoffice-commits] core.git: swext/mediawiki
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 22 14:06:20 UTC 2021
swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 1534c125440725631bcfd5b2ebd1592ee8104287
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Mar 22 10:42:00 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Mar 22 15:05:32 2021 +0100
cid#1473816 Dereference null return value
Change-Id: Iebafaa477670041d184a5d01221355fca61a5e62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112878
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
index 17527cad187b..0990cf6a7bea 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java
@@ -64,6 +64,9 @@ class WikiProtocolSocketFactory extends SSLSocketFactory
}
}
+ if (m_aOrgTrustManager == null)
+ throw new RuntimeException("No access to the default trust manager!");
+
return m_aOrgTrustManager;
}
More information about the Libreoffice-commits
mailing list