aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java b/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java
index 2641fce..3d8778c 100644
--- a/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java
+++ b/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java
@@ -224,8 +224,11 @@ public class ConferenceInfoDocument
try
{
+ DocumentBuilderFactory factory
+ = DocumentBuilderFactory.newInstance();
+ XMLUtils.disableExternalEntities(factory);
document
- = DocumentBuilderFactory.newInstance().newDocumentBuilder()
+ = factory.newDocumentBuilder()
.parse(new ByteArrayInputStream(bytes));
}
catch (Exception e)