Wireshark-bugs: [Wireshark-bugs] [Bug 8787] New: 9P dissector - compute fids on first visit
Date: Tue, 11 Jun 2013 17:20:37 +0000
Bug ID 8787
Summary 9P dissector - compute fids on first visit
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Wireshark
Assignee bugzilla-admin@wireshark.org
Reporter xvnfrhr.unzneqfjef@noclue.notk.org

Created attachment 10960 [details]
patch to build a fid tree on first dissection

Build Information:

--
Follow-up on 9P dissector enhancement (
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8589 )

"fid"s, 9P file descriptors, are valid from the moment it's allocated until
when it's freed. My original patch kept a fid hashtable updated everytime a
packet was dissected in full-view (with a non-null tree)

Attached is a patch that builds a tree for each 9P fid and stores the
corresponding path when it becomes valid/marks it as invalid when it no longer
is.

I still believe I'm missing something, because packets that weren't shown in
the GUI aren't dissected at all, so opening a pcap file then scrolling directly
to the end will result in invalid fids, while scrolling all the way to the
bottom with pagedown will work as expected... This obviously isn't a problem
for live capture, as the view scrolls down and every packet is dissected in
order, but I'm interested in a solution for this.


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