diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-11-20 18:38:48 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-11-20 18:38:48 +0000 |
commit | 91b972ae5ef1dbd437778d942901c6d820f399e2 (patch) | |
tree | 20d9599750a9cca81578ff3955e133032ad74d64 /epan/dissectors/packet-ssl.c | |
parent | f34e11fabead2968fab30e5c3caab8b377aaa287 (diff) |
From Jakub via http://www.wireshark.org/lists/wireshark-dev/201311/msg00153.html
Wrong offset incrementation in r53416 (Add status_request_v2 TLS extension dissection (RFC6961))
From me
Fix encoding args
svn path=/trunk/; revision=53444
Diffstat (limited to 'epan/dissectors/packet-ssl.c')
-rw-r--r-- | epan/dissectors/packet-ssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c index 634334a3d4..dd5e87e516 100644 --- a/epan/dissectors/packet-ssl.c +++ b/epan/dissectors/packet-ssl.c @@ -2784,7 +2784,7 @@ dissect_ssl3_hnd_cert_url(tvbuff_t *tvb, proto_tree *tree, guint32 offset) offset += 2; proto_tree_add_item(urlhash_tree, hf_ssl_hs_ext_cert_url_url, - tvb, offset, url_len, ENC_ASCII); + tvb, offset, url_len, ENC_ASCII|ENC_NA); offset += url_len; proto_tree_add_item(urlhash_tree, hf_ssl_hs_ext_cert_url_padding, @@ -2867,7 +2867,7 @@ dissect_ssl3_hnd_hello_ext_status_request_v2(tvbuff_t *tvb, proto_tree *tree, offset += 3; while (list_len-- > 0) - offset += dissect_ssl3_hnd_hello_ext_status_request(tvb, tree, offset, TRUE); + offset = dissect_ssl3_hnd_hello_ext_status_request(tvb, tree, offset, TRUE); return offset; } @@ -3948,7 +3948,7 @@ dissect_ssl3_hnd_cert_status(tvbuff_t *tvb, proto_tree *tree, offset += 3; while (list_len-- > 0) - offset += dissect_ssl3_ocsp_response(tvb, tree, offset, pinfo); + offset = dissect_ssl3_ocsp_response(tvb, tree, offset, pinfo); break; } |