diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-12-13 19:54:19 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-12-13 19:54:19 +0000 |
commit | a25cf3ff1c3363d93340208de32740240c0f760a (patch) | |
tree | af2ff7306b14e53e0b93063c436631418e461d37 /epan/dissectors/packet-sigcomp.c | |
parent | 2ea966c84ecb5d256cd49a46dbf34d1cde31f477 (diff) |
Fix: Execution Tracing High-Detail field selection highlighting seemingly wrong bytes in hex view pane.
Actual problem:
A REAL_DATA tvbuff wasn't being added to the "data_sources"
for a frame. When displaying the frame, when a field referencing the tvb was selected
for display there was no 'hex bytes' tab for the field and so bytes ended up being
highlighted in the currently displayed hex bytes tab (thus highlighting bytes in a pane
not related to the field).
Consider: Add some code in field creation (proto_tree_add...) to at least warn if
a field is being created using a tvb whose data_source is not in the
data_sources list for the frame ?
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40182 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sigcomp.c')
-rw-r--r-- | epan/dissectors/packet-sigcomp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sigcomp.c b/epan/dissectors/packet-sigcomp.c index 6356be2c5a..4d5b44406f 100644 --- a/epan/dissectors/packet-sigcomp.c +++ b/epan/dissectors/packet-sigcomp.c @@ -752,6 +752,7 @@ dissect_sigcomp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sigcomp_tr } udvm_tvb = tvb_new_child_real_data(tvb, buff,state_length+state_address,state_length+state_address); + add_new_data_source(pinfo, udvm_tvb, "State/ExecutionTrace"); /* Arrange that the allocated packet data copy be freed when the * tvbuff is freed. */ |