aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-lsa.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-23 10:55:22 -0700
committerEvan Huus <eapache@gmail.com>2015-06-23 17:56:11 +0000
commiteb321f87107c9b25a5094d749b3bd9d1a72e1560 (patch)
tree25fc90238481792b3e005b51f893dd8f0ad7fd0f /epan/dissectors/packet-dcerpc-lsa.c
parent17ac3831d6b461e75cb0ddbaf485353891470185 (diff)
Remove deprecated tvb_length from PIDL dissectors
Also regenerate all to pick up the usage of https in some comment links. Change-Id: Ic17b6368d2118627178b0b560031450d98e5b5e5 Reviewed-on: https://code.wireshark.org/review/9060 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-lsa.c')
-rw-r--r--epan/dissectors/packet-dcerpc-lsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc-lsa.c b/epan/dissectors/packet-dcerpc-lsa.c
index 3d50c6fa80..b485be5da9 100644
--- a/epan/dissectors/packet-dcerpc-lsa.c
+++ b/epan/dissectors/packet-dcerpc-lsa.c
@@ -5,7 +5,7 @@
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
- found at http://wiki.wireshark.org/Pidl
+ found at https://wiki.wireshark.org/Pidl
*/
@@ -1553,8 +1553,8 @@ lsarpc_dissect_element_lsa_DomainInfoEfs_efs_blob_(tvbuff_t *tvb _U_, int offset
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, di, drep,
hf_lsarpc_efs_blob_len, &reported_len);
len = reported_len;
- if (len > tvb_length_remaining(tvb, offset)) {
- len = tvb_length_remaining(tvb, offset);
+ if (len > tvb_captured_length_remaining(tvb, offset)) {
+ len = tvb_captured_length_remaining(tvb, offset);
}
next_tvb = tvb_new_subset(tvb, offset, len, reported_len);
efsblob_handle = find_dissector("efsblob");