diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2016-12-27 22:34:08 +0100 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2016-12-27 22:34:08 +0100 |
commit | 9ffda8db84eac97151430f95ae0d6ce46fb6a157 (patch) | |
tree | 0b19b4c94fb874dd30b5f296cf4f12a7ae0bc6d3 | |
parent | 402ad5c9e7fa9af06fbb9152ec8d693f62228b38 (diff) | |
download | jitsi-9ffda8db84eac97151430f95ae0d6ce46fb6a157.zip jitsi-9ffda8db84eac97151430f95ae0d6ce46fb6a157.tar.gz jitsi-9ffda8db84eac97151430f95ae0d6ce46fb6a157.tar.bz2 |
Ignore invalid ICE candidates
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java b/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java index d326b96..7305f5c 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java @@ -1000,6 +1000,12 @@ public class IceUdpTransportManager if (candidate.getGeneration() != generation) continue; + if (candidate.getIP() == null || "".equals(candidate.getIP())) + { + logger.warn("Skipped ICE candidate with empty IP"); + continue; + } + Component component = stream.getComponent(candidate.getComponent()); String relAddr; |