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 3372] New: Various rawshark fixes

Date: Tue, 31 Mar 2009 13:25:50 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3372

           Summary: Various rawshark fixes
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: duncan.salerno@xxxxxxxxxxxxxx



Duncan Salerno <duncan.salerno@xxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2893|                            |review_for_checkin?
               Flag|                            |


Created an attachment (id=2893)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2893)
rawshark fixes

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Attached a small patch to rawshark:

o It assumed sizeof(long) = 4, which is incorrect for 64 bit (so doesn't work)
o Apply preferences before validing fields - allows MATE defined fields
o Incorrect handling of read(2), breaks if read doesn't return number of bytes
requested
o Added -s option to skip pcap file header on input, makes it easier to
test/use rawshark


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