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-h460.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-h460.c')
-rw-r--r-- | epan/dissectors/packet-h460.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-h460.c b/epan/dissectors/packet-h460.c index c4bf075663..0abcee200e 100644 --- a/epan/dissectors/packet-h460.c +++ b/epan/dissectors/packet-h460.c @@ -789,7 +789,7 @@ dissect_h460_4_CallPriorityInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a static int dissect_h460_4_X121CountryCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index, - 3, 3, "0123456789", 10, + 3, 3, FALSE, "0123456789", 10, NULL); return offset; @@ -814,7 +814,7 @@ dissect_h460_4_T_x121(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p static int dissect_h460_4_E164CountryCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index, - 3, 3, "0123456789", 10, + 3, 3, FALSE, "0123456789", 10, NULL); return offset; @@ -825,7 +825,7 @@ dissect_h460_4_E164CountryCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *ac static int dissect_h460_4_T_identificationCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_restricted_character_string(tvb, offset, actx, tree, hf_index, - 1, 4, "0123456789", 10, + 1, 4, FALSE, "0123456789", 10, NULL); return offset; |