Changeset 665b691


Ignore:
Timestamp:
May 28, 2009 3:35:54 AM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
65ae9138
Parents:
87953c4
Message:

UPnP: Prevent NPE after ParserException?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/org/cybergarage/upnp/event/NotifyRequest.java

    r87953c4 r665b691  
    175175                PropertyList properties = new PropertyList();
    176176                Node varSetNode = getEnvelopeNode();
     177                // I2P change: ParserException caught in getRootNode() causes
     178                // getEnvelopeNode() to return null
     179                if (varSetNode == null)
     180                        return properties;
    177181                for (int i = 0; i<varSetNode.getNNodes(); i++){
    178182                        Node propNode = varSetNode.getNode(i);
Note: See TracChangeset for help on using the changeset viewer.