commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1196034 - in /commons/proper/net/trunk/src: changes/changes.xml main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Date Tue, 01 Nov 2011 14:55:01 GMT
Author: sebb
Date: Tue Nov  1 14:55:00 2011
New Revision: 1196034

URL: http://svn.apache.org/viewvc?rev=1196034&view=rev
Log:
NET-416 Increasing sub-negotiation message holder array size

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java

Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1196034&r1=1196033&r2=1196034&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml (original)
+++ commons/proper/net/trunk/src/changes/changes.xml Tue Nov  1 14:55:00 2011
@@ -59,6 +59,9 @@ The <action> type attribute can be add,u
         <release version="3.0.2-SNAPSHOT" date="TBA" description="
 TBA
         ">
+            <action issue="NET-416" dev="sebb" type="update">
+            Increasing sub-negotiation message holder array size
+            </action>
             <action issue="NET-428" dev="sebb" type="fix">
             SubnetUtils throws ArrayIndexOutOfBoundsException for new SubnetUtils( "1.2.3.4/32"
).getInfo().getAllAddresses()
             </action>

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java?rev=1196034&r1=1196033&r2=1196034&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Tue Nov  1 14:55:00 2011
@@ -55,7 +55,7 @@ final class TelnetInputStream extends Bu
     private IOException __ioException;
 
     /* TERMINAL-TYPE option (start)*/
-    private final int __suboption[] = new int[256];
+    private final int __suboption[] = new int[512];
     private int __suboption_count = 0;
     /* TERMINAL-TYPE option (end)*/
 



Mime
View raw message