DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30825>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30825 Under some circumstances org.apache.commons.codec.binary.Base64.isArrayByteBase64() throws a ArrayIndexOutOfBoundsException Summary: Under some circumstances org.apache.commons.codec.binary.Base64.isArrayByteBase64 () throws a ArrayIndexOutOfBoundsException Product: Commons Version: 1.3 Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Codec AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If I try org.apache.commons.codec.binary.Base64.isArrayByteBase64() on a particular byteArray I get a ArrayIndexOutOfBoundsException. Here is the stackTrace: java.lang.ArrayIndexOutOfBoundsException: -94 at org.apache.commons.codec.binary.Base64.isBase64(Base64.java:137) at org.apache.commons.codec.binary.Base64.isArrayByteBase64(Base64.java:163) at it.injava.rosetta.manager.PacketManager.decryptPacket(PacketManager.java:41) at it.injava.rosetta.net.MulticastListener.run(MulticastListener.java:95) at java.lang.Thread.run(Thread.java:534) The correct result should be 'false': absolutely the byteArray is not a Base64 stream but I want to use this method exactly to understand when byteArray is (or it is not) a real Base64 stream. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
