Changeset 4521156


Ignore:
Timestamp:
May 31, 2015 12:43:06 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3c89bd4
Parents:
c58fd8f
Message:

Fortuna: Catch AIOOBE (ticket #1576)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/FortunaRandomSource.java

    rc58fd8f r4521156  
    263263    @Override
    264264    public void feedEntropy(String source, byte[] data, int offset, int len) {
    265         synchronized(_fortuna) {
    266             _fortuna.addRandomBytes(data, offset, len);
     265        try {
     266            synchronized(_fortuna) {
     267                _fortuna.addRandomBytes(data, offset, len);
     268            }
     269        } catch (Exception e) {
     270            // AIOOBE seen, root cause unknown, ticket #1576
     271            Log log = _context.logManager().getLog(FortunaRandomSource.class);
     272            log.warn("feedEntropy()", e);
    267273        }
    268274    }
  • history.txt

    rc58fd8f r4521156  
     12015-05-31 zzz
     2 * Fortuna: Catch AIOOBE (ticket #1576)
     3
    142015-05-30 zzz
    25 * i2ptunnel: Fix +/- variance config (ticket #1587)
  • router/java/src/net/i2p/router/RouterVersion.java

    rc58fd8f r4521156  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 33;
     21    public final static long BUILD = 34;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.