Wireshark-bugs: [Wireshark-bugs] [Bug 9949] Buildbot crash output: fuzz-2014-04-02-29441.pcap

Date: Sat, 19 Apr 2014 03:09:33 +0000

changed bug 9949

What Removed Added
CC   [email protected]

Comment # 4 on bug 9949 from
As I commented on the duplicate: the majority of the memory usage appears to be
coming from se_ address-to-string conversions used for filling in columns.
There are two issues with this:

1. All the address_to_str functions (se_, ep_, and wmem) massively
over-allocate for simplicity; they grab 256 bytes, even if (as is the case
here) the resulting string is only a few bytes long. This is extremely
wasteful.

2. When running tshark the columns shouldn't be se-allocated anyways; I assume
it's necessary for Wireshark (since the columns are displayed continually) but
for tshark all the column data is free-able as soon as that packet has been
printed.


You are receiving this mail because:
  • You are watching all bug changes.