Fix wrong offset in H.235 tokens causing malformed packet exception

svn path=/trunk/; revision=49899
This commit is contained in:
Tomas Kukosa 2013-06-12 09:03:21 +00:00
parent 2e8347a964
commit 822c02b5d0
2 changed files with 10 additions and 10 deletions

View File

@ -58,29 +58,29 @@ NonStandardParameter/data TYPE = FT_UINT32 DISPLAY = BASE_DEC
#.FN_HDR SIGNED
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR ENCRYPTED
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR HASHED
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR ClearToken
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END
#.FN_HDR CryptoToken
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
#.END

View File

@ -557,7 +557,7 @@ int
dissect_h235_ENCRYPTED(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 65 "../../asn1/h235/h235.cnf"
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
@ -589,7 +589,7 @@ int
dissect_h235_SIGNED(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 60 "../../asn1/h235/h235.cnf"
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
@ -754,7 +754,7 @@ int
dissect_h235_ClearToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 76 "../../asn1/h235/h235.cnf"
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
@ -775,7 +775,7 @@ int
dissect_h235_HASHED(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 70 "../../asn1/h235/h235.cnf"
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
@ -851,7 +851,7 @@ int
dissect_h235_CryptoToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 82 "../../asn1/h235/h235.cnf"
proto_item *hidden_item;
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset, 0, ENC_NA);
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
PROTO_ITEM_SET_HIDDEN(hidden_item);
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,