Wireshark-bugs: [Wireshark-bugs] [Bug 2232] New: Incorrect decoding of JPEG images which contain
Date: Thu, 31 Jan 2008 12:02:35 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2232

           Summary: Incorrect decoding of JPEG images which contain a
                    quantization table
           Product: Wireshark
           Version: 0.99.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pkj@xxxxxxxx


Created an attachment (id=1417)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1417)
Correct the decoding of JPEG images with a quantization table

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).

--
I was capturing an RTP stream the other day which contained JPEG images
streamed according to RFC 2435. However, Wireshark reported them as malformed.
After some debugging of the Wireshark code it turned out that the decoding of
JPEG images which contain a quantization table was incorrect. I have attached a
patch to correct the decoding.


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