diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-11 20:40:14 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-11 20:40:14 +0000 |
commit | d264cd565898f2fcaf17aea30eb529ddff9db097 (patch) | |
tree | 650c2e32d8b911b450e79c48e5352e5278186d3e /epan | |
parent | 32749c0fade68eaba79bb1708b972e45fdb60e6d (diff) |
When performing heuristics, use tvb_length() instead of tvb_reported_length().
svn path=/trunk/; revision=37067
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-usb-at.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb-at.c b/epan/dissectors/packet-usb-at.c index c6fcc46bc3..b884e447be 100644 --- a/epan/dissectors/packet-usb-at.c +++ b/epan/dissectors/packet-usb-at.c @@ -48,7 +48,7 @@ static gboolean allowed_chars(tvbuff_t *tvb) gint offset, len; guint8 val; - len = tvb_reported_length(tvb); + len = tvb_length(tvb); for (offset = 0; offset < len; offset++) { val = tvb_get_guint8(tvb, offset); if (!(isprint(val) || (val == 0x0a) || (val == 0x0d))) |