Changeset d0eaf4d


Ignore:
Timestamp:
Dec 18, 2015 3:44:11 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
fa6643c
Parents:
c59496f3
Message:

BuildHandler?: Fix NPE (ticket #1738)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    rc59496f3 rd0eaf4d  
     12015-12-18 zzz
     2 * BuildHandler: Fix NPE (ticket #1738)
     3
     42015-12-16 zzz
     5 * Profiles:
     6   - Don't use same family in a tunnel
     7   - Reduce IPv6 mask from 8 to 6
     8
    192015-12-13 zzz
    210 * Data: Optimize router info writes, disable caching
  • router/java/src/net/i2p/router/RouterVersion.java

    rc59496f3 rd0eaf4d  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 14;
     21    public final static long BUILD = 15;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/tunnel/pool/BuildHandler.java

    rc59496f3 rd0eaf4d  
    649649        if (!isInGW) {
    650650            Hash from = state.fromHash;
    651             if (from == null)
     651            if (from == null && state.from != null)
    652652                from = state.from.calculateHash();
    653653            if (_context.routerHash().equals(from)) {
     
    659659        if ((!isOutEnd) && (!isInGW)) {
    660660            Hash from = state.fromHash;
    661             if (from == null)
     661            if (from == null && state.from != null)
    662662                from = state.from.calculateHash();
    663663            // Previous and next hop the same? Don't help somebody be evil. Drop it without a reply.
     
    763763        if (response == 0 && !isInGW) {
    764764            Hash from = state.fromHash;
    765             if (from == null)
     765            if (from == null && state.from != null)
    766766                from = state.from.calculateHash();
    767767            if (from != null && _throttler.shouldThrottle(from)) {
Note: See TracChangeset for help on using the changeset viewer.