Changeset 16a551f7 for router


Ignore:
Timestamp:
Nov 13, 2016 4:30:51 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
cd5d5ee2
Parents:
75d599e
Message:

UPnP: Prevent NPE on socket creation fail (ticket #1681)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/org/cybergarage/upnp/ssdp/HTTPUSocket.java

    r75d599e r16a551f7  
    9393                if (0 < localAddr.length())
    9494                        return localAddr;
     95                // I2P prevent NPE #1681
     96                if (ssdpUniSock == null)
     97                        return "";
    9598                return ssdpUniSock.getLocalAddress().getHostAddress();
    9699        }
Note: See TracChangeset for help on using the changeset viewer.