Changeset 3930113


Ignore:
Timestamp:
Apr 18, 2014 4:44:39 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
43883a9
Parents:
029198c
Message:

I2PTunnel IRC Client: Prevent AIOOBE (ticket #1254)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java

    r029198c r3930113  
    302302        if("NOTICE".equals(command))
    303303        {
     304            if (field.length < 3)
     305                return s;  // invalid, allow server response
    304306            String msg = field[2];
    305307            if(msg.startsWith(":DCC "))
     
    311313        if("PRIVMSG".equals(command) || "NOTICE".equals(command))
    312314        {
    313             String msg;
    314             msg = field[2];
     315            if (field.length < 3)
     316                return s;  // invalid, allow server response
     317            String msg = field[2];
    315318       
    316319            if(msg.indexOf(0x01) >= 0) // CTCP marker ^A can be anywhere, not just immediately after the ':'
     
    346349       
    347350        if("USER".equals(command)) {
     351            if (field.length < 3)
     352                return s;  // invalid, allow server response
    348353            int idx = field[2].lastIndexOf(":");
    349354            if(idx<0)
  • history.txt

    r029198c r3930113  
    112014-04-18 zzz
    22 * configclients: Don't allow console disable
     3 * I2PTunnel IRC Client: Prevent AIOOBE (ticket #1254)
    34 * SusiMail:
    45   - Extend session expiration (ticket #1253)
     
    910   - Hide "reload config" button unless config file is present
    1011   - Increase default page size
     12   - Don't force reconnection on folder view (ticket #1253)
     13   - Button theme tweaks
     14   - Only show logout button on folder view
    1115   - Add dependency tracking to build
    1216
  • router/java/src/net/i2p/router/RouterVersion.java

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