Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 27959: /trunk/epan/ /trunk/epan/dissectors/: packet-wcp.c packet-x11.c /trunk/epan/: tvbuff.c tvbuff.h

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 4 Apr 2009 14:32:14 -0700


On Apr 4, 2009, at 12:34 PM, gerald@xxxxxxxxxxxxx wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27959

User: gerald
Date: 2009/04/04 12:34 PM

Log:
tvbuff.[ch]: Accept more size_t's.

Should people be passing sizeof's to tvb_new_subset(), tvb_new_real_data(), etc.? There's no guarantee that a C structure matches a data structure within a packet, due to padding (including padding at the end of the structure, in some compilers), etc..

  • Follow-Ups:
    • Re: [Wireshark-dev] [Wireshark-commits] rev 27959: /trunk/epan/ /trunk/epan/dissectors/: packet-wcp.c packet-x11.c /trunk/epan/: tvbuff.c tvbuff.h
      • From: Gerald Combs
  • Prev by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on OSX-10.5-ppc
  • Next by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Solaris-10-SPARC
  • Previous by thread: Re: [Wireshark-dev] slow startup caused by splash_update?
  • Next by thread: Re: [Wireshark-dev] [Wireshark-commits] rev 27959: /trunk/epan/ /trunk/epan/dissectors/: packet-wcp.c packet-x11.c /trunk/epan/: tvbuff.c tvbuff.h
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation