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-h235.c | |
parent | a6cb92c7a937e4e457eec84ff47921204a0242c2 (diff) | |
download | wireshark-98c852386ddaef876313dee9de46a3a7562ec059.tar.gz wireshark-98c852386ddaef876313dee9de46a3a7562ec059.tar.bz2 wireshark-98c852386ddaef876313dee9de46a3a7562ec059.zip |
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-h235.c')
-rw-r--r-- | epan/dissectors/packet-h235.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-h235.c b/epan/dissectors/packet-h235.c index 13b79560f2..b3e1fe9324 100644 --- a/epan/dissectors/packet-h235.c +++ b/epan/dissectors/packet-h235.c @@ -253,7 +253,7 @@ dissect_h235_RandomVal(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_h235_Password(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; } @@ -263,7 +263,7 @@ dissect_h235_Password(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p static int dissect_h235_Identifier(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; } @@ -666,7 +666,7 @@ dissect_h235_INTEGER_0_255(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_h235_BMPString(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, - NO_BOUND, NO_BOUND); + NO_BOUND, NO_BOUND, FALSE); return offset; } |