aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_common.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-26 19:44:23 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-26 19:44:23 +0000
commit68f4f6101757a65abff1faaa9b9b0fd27a87eec5 (patch)
treefc9c7193cdaeee6266da152a7906dda88d18cf79 /epan/dissectors/packet-gsm_a_common.c
parent57f8048743cc35f0324f3189370e5d47f2a031c2 (diff)
Dissect PS-HANDOVER-REQUEST.
svn path=/trunk/; revision=35666
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r--epan/dissectors/packet-gsm_a_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c
index e8cb495e37..4217667496 100644
--- a/epan/dissectors/packet-gsm_a_common.c
+++ b/epan/dissectors/packet-gsm_a_common.c
@@ -3115,8 +3115,11 @@ de_nas_cont_for_ps_ho(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len
* The IOV-UI value consists of 32 bits, the format is defined in 3GPP TS 44.064 [78a].
*/
proto_tree_add_item(tree, hf_gsm_a_iov_ui, tvb, curr_offset, 4, FALSE);
+ curr_offset+=4;
- return(len);
+ EXTRANEOUS_DATA_CHECK_EXPERT(len, curr_offset - offset, gsm_a_dtap_pinfo);
+
+ return(curr_offset - offset);
}