diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2013-12-28 16:38:07 +0100 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2013-12-28 16:38:07 +0100 |
commit | e64da30937358c3a08c9a9f57aa3bc280ab69fca (patch) | |
tree | 3fc7844633303f05e54dc9ec9a5c17e5bb23e625 /src | |
parent | 698395276e29aaf5b13757972de3ab7fec2d1597 (diff) | |
download | jitsi-e64da30937358c3a08c9a9f57aa3bc280ab69fca.zip jitsi-e64da30937358c3a08c9a9f57aa3bc280ab69fca.tar.gz jitsi-e64da30937358c3a08c9a9f57aa3bc280ab69fca.tar.bz2 |
Get a copy of packet extensions to avoid CME (closes #1211)
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/JingleIQ.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/JingleIQ.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/JingleIQ.java index 06b5448..43cba15 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/JingleIQ.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/JingleIQ.java @@ -303,7 +303,10 @@ public class JingleIQ extends IQ */ public List<ContentPacketExtension> getContentList() { - return contentList; + synchronized(contentList) + { + return new ArrayList<ContentPacketExtension>(contentList); + } } /** |