diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-11-22 17:00:45 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-11-22 17:00:45 +0000 |
commit | 98c852386ddaef876313dee9de46a3a7562ec059 (patch) | |
tree | 3ec217fd1ee599a000f33844f07e921889db0059 /epan/dissectors/packet-h501.c | |
parent | a6cb92c7a937e4e457eec84ff47921204a0242c2 (diff) |
Handle lenght restriction extension of restricted strings.
Fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4251
svn path=/trunk/; revision=31047
Diffstat (limited to 'epan/dissectors/packet-h501.c')
-rw-r--r-- | epan/dissectors/packet-h501.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-h501.c b/epan/dissectors/packet-h501.c index 6860591958..dee5876191 100644 --- a/epan/dissectors/packet-h501.c +++ b/epan/dissectors/packet-h501.c @@ -438,7 +438,7 @@ void proto_reg_handoff_h501(void); static int dissect_h501_ElementIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index, - 1, 128); + 1, 128, FALSE); return offset; } @@ -822,7 +822,7 @@ dissect_h501_DescriptorRequest(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *ac static int dissect_h501_GlobalTimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_IA5String(tvb, offset, actx, tree, hf_index, - 14, 14); + 14, 14, FALSE); return offset; } @@ -923,7 +923,7 @@ dissect_h501_T_messageType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_h501_IA5String_SIZE_3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_IA5String(tvb, offset, actx, tree, hf_index, - 3, 3); + 3, 3, FALSE); return offset; } @@ -943,7 +943,7 @@ dissect_h501_INTEGER_M127_127(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_h501_IA5String_SIZE_6(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_IA5String(tvb, offset, actx, tree, hf_index, - 6, 6); + 6, 6, FALSE); return offset; } @@ -1022,7 +1022,7 @@ dissect_h501_SEQUENCE_OF_PriceElement(tvbuff_t *tvb _U_, int offset _U_, asn1_ct static int dissect_h501_IA5String_SIZE_1_2048(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_IA5String(tvb, offset, actx, tree, hf_index, - 1, 2048); + 1, 2048, FALSE); return offset; } |