You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/05/20 13:31:38 UTC

DO NOT REPLY [Bug 49316] New: org.apache.tomcat.lite.util.Base64 broken

https://issues.apache.org/bugzilla/show_bug.cgi?id=49316

           Summary: org.apache.tomcat.lite.util.Base64 broken
           Product: Tomcat 7
           Version: unspecified
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: Modules: tomcat-lite
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: dblock@dblock.org


Created an attachment (id=25462)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25462)
a test of base64 encode/decode

The base64 implementation in org.apache.tomcat.lite.util.Base64 (trunk, rev.
946138) is broken. Try the attached test.

IMHO it should be thrown away. Its implementation has all kinds of buffer size
problems that are beyond fixing. (The one in org.apache.catalina.util.Base64
works, but it has an interface that is hard to use, I'll file a separate
issue).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49316] org.apache.tomcat.lite.util.Base64 broken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49316

Costin Manolache <co...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Costin Manolache <co...@apache.org> 2010-05-25 02:20:47 EDT ---
Removed, thank you.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49316] org.apache.tomcat.lite.util.Base64 broken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49316

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Modules: tomcat-lite        |Tomcat Lite
            Product|Tomcat 7                    |Tomcat Modules

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org