Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6102] epan/base64 incorrect return length?!

Date: Sun, 10 Jun 2012 18:44:41 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6102

Michael Mann <mmann78@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmann78@xxxxxxxxxxxx

--- Comment #3 from Michael Mann <mmann78@xxxxxxxxxxxx> 2012-06-10 18:44:40 PDT ---
I took the attached base64 encoded file (299680 bytes) and wrote a "hello
world" program in Windows with 3 different base64 "algorithms"
1. The epan_base64_decode as it currently is in the SVN
2. epan_base64_decode with Chris's modifications
3. base64 decryption algorithm provided with bug 7349 (before I realized one
already existed).  Coded much differently than epan_base64_decode().

All three algorithms decrypted the file in the exact same way.  All had the
(correct) same number of bytes post-decryption (224760), however the "file
size" and "size on disk" where larger than 224760 bytes.  I see that as more a
function of the OS/file system than a bug in the decryption algorithm.

Unless I'm missing something, I would consider this "not a bug" as the current
SVN version still decrypted just fine.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.