wireshark/plugins/epan/transum
Peter Wu 910bc034ab TRANSUM: fix crash when switching profiles
"output_rrpd" is NULL when the TRANSUM dissector is disabled (which is
the default behavior). When switching to a profile where the dissector
is enabled, redissection happens, but without invoking the init routine.
This leads to a crash when dissect_transum tries to query "output_rrpd".

Fix this by creating the map unconditionally. Use wmem_map_new_autoreset
since its contents should be erased for new capture files.

Bug: 13697
Change-Id: Iea897da8faf8042dffdc74327d9d1221e5fb155f
Fixes: v2.3.0rc0-1887-g78d56e5dd7 ("Cleanup transum post-dissector.")
Reviewed-on: https://code.wireshark.org/review/28474
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-06-27 03:20:09 +00:00
..
AUTHORS
CMakeLists.txt spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
README
decoders.c Use common indenting space in heading 2018-05-01 06:55:55 +00:00
decoders.h Use common indenting space in heading 2018-05-01 06:55:55 +00:00
extractors.c Use common indenting space in heading 2018-05-01 06:55:55 +00:00
extractors.h Use common indenting space in heading 2018-05-01 06:55:55 +00:00
packet-transum.c TRANSUM: fix crash when switching profiles 2018-06-27 03:20:09 +00:00
packet-transum.h Use common indenting space in heading 2018-05-01 06:55:55 +00:00
preferences.h Use common indenting space in heading 2018-05-01 06:55:55 +00:00

README

Advance7 has released under GPL this plugin
for Wireshark. It produces detailed response
time information based on the RTE model.

Advance7 can be found at http://www.advance7.com/
The author is Paul Offord <paul.offord@advance7.com>