Wireshark-bugs: [Wireshark-bugs] [Bug 7736] [PATCH] Dissection error of D-RELEASE and D-CONNECT
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7736
--- Comment #2 from LI Hai <zealsoft@xxxxxxxxx> 2012-09-19 03:51:21 PDT ---
The redundant line %(DEFAULT_BODY)s will insert dissection functions twice, so
that the dissector will try to decode the data of D-RELEASE twice. When the
dissector start to decode the data at the second time, it has already reached
the end of the data, so it will cause a malformed error.
(In reply to comment #1)
> Hi,
> > Remove redundant code of D-RELEASE in tetra.cnf, which will cause a malformed
> > error.
> could you clarify why removing the following line prevents a malformed error?
> col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "D-RELEASE");
> The purpose here is just to add a string to the information column (like for
> every other message types in the TETRA dissector).
> Do you have any pcap file demonstrating the issue?
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.