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: [Wireshark-dev] New experimental feature: GTK2 based packet list - a flaw

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


From: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
Date: Thu, 2 Jul 2009 15:30:56 +0200

Title: New experimental feature: GTK2 based packet list - a flaw

Hi,
As I understand the code internally all 59 defined columns are "allocated" in the treeview and data is written/retrieved

Using the columns enum, this causes a problem if more than one custom column is added as data will be overwritten with the latest added

Column data and I guess it waists memory. I think this should be changed to only allocate the number of used columns.

Is it a design goal to be able to add columns "on the fly" without restarting WS? Is that possible in the treeview? If not a possible solution

Could be to allocate a number of "extra columns" (5?) to the number of columns set previously in preferences.

Some column data might take less memory to store as numbers and adding a special renderer (Time, IPv4 address...).

Regards
Anders

  • Prev by Date: Re: [Wireshark-dev] New experimental feature: GTK2 based packet list (svn rev 28892)
  • Next by Date: Re: [Wireshark-dev] bug report(?): Windows crash when DNS server not specified
  • Previous by thread: Re: [Wireshark-dev] IEEE 1588 PTP DataTypes
  • Next by thread: [Wireshark-dev] VB: [Wireshark-commits] rev 28920: /trunk/ /trunk/gtk/: hostlist_table.c /trunk/: Makefile.am Makefile.common Makefile.nmake config.h.win32 configure.in mkstemp.c mkstemp.h tempfile.c tempfile.h
  • Index(es):
    • Date
    • Thread

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