Wireshark-bugs: [Wireshark-bugs] [Bug 2302] New: Base64 decoder returns incorrect length

Date: Fri, 22 Feb 2008 19:53:51 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2302

           Summary: Base64 decoder returns incorrect length
           Product: Wireshark
           Version: 0.99.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pkj@xxxxxxxx


Created an attachment (id=1488)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1488)
Make the base64 decoder return a correct length

Build Information:
wireshark 0.99.7

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.10.13, with GLib 2.12.9, with libpcap 0.9.4, with libz
1.2.3, with libpcre 6.6, without SMI, without ADNS, without Lua, with GnuTLS
1.4.1, with Gcrypt 1.2.3, with MIT Kerberos, without PortAudio, without
AirPcap.

Running on Linux 2.6.20-1.2962.fc6, with libpcap version 0.9.4.

Built using gcc 4.1.2 20070626 (Red Hat 4.1.2-13).

--
The base64 decoder in epan_base64_decode() returns an incorrect length (one
byte too many) for three out of four base64 coded strings. Please apply the
attached patch to correct this.


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