diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-12-13 19:54:19 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-12-13 19:54:19 +0000 |
commit | 6d3f5ff1433ee07e08d231079c536182949f29e6 (patch) | |
tree | af2ff7306b14e53e0b93063c436631418e461d37 /epan/dissectors/packet-sigcomp.c | |
parent | 70e2a50ad10f3c82cfb94578a58681e1445f5117 (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 ?
svn path=/trunk/; revision=40182
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. */ |