Changeset bdcb625


Ignore:
Timestamp:
Jan 13, 2009 7:28:09 PM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
366da1b3
Parents:
82967235
Message:

fix rare NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/streaming/java/src/net/i2p/client/streaming/Packet.java

    r82967235 rbdcb625  
    531531        if (!isFlagSet(FLAG_SIGNATURE_INCLUDED)) return false;
    532532        if (_optionSignature == null) return false;
     533        // prevent receiveNewSyn() ... !active ... sendReset() ... verifySignature ... NPE
     534        if (from == null) return false;
    533535       
    534536        int size = writtenSize();
Note: See TracChangeset for help on using the changeset viewer.