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 2518] New: 'tshark -Tfields -e data' Omits Last Character

Date: Sat, 3 May 2008 13:22:33 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2518

           Summary: 'tshark -Tfields -e data' Omits Last Character of Data
           Product: Wireshark
           Version: 1.0.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: alon@xxxxxxxxxxx


Created an attachment (id=1767)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1767)
Single RTP packet

Build Information:
TShark 1.0.0

Copyright 1998-2008 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 GLib 2.14.6, with WinPcap (version unknown), with libz 1.2.3,
without POSIX capabilities, with libpcre 7.0, with SMI 0.4.5, with ADNS, with
Lua 5.1, with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5.

Built using Microsoft Visual C++ 6.0 build 8804
--
Overview: 'tshark -Tfields -e data' does not display the last character of
data.

Steps to Reproduce: 
1) Copy the attached file (missing-char.pcap) to your current directory.
2) Open missing-char.pcap using the Wireshark GUI.
3) Click the DATA node in the PACKET DETAILS pane.
4) Notice that the last byte in the PACKET BYTES section is 0xEF.
5) Run 'tshark -Tfields -r missing-char.pcap -e data'.

Actual Results:
The last character displayed is 0xE -- The final 0xF character is missing.

Expected Results:
The missing character (0xF) should be included in the output.


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