aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorSean O. Stalley <sean.stalley@intel.com>2014-06-06 15:07:00 -0700
committerMichael Mann <mmann78@netscape.net>2014-06-12 00:32:21 +0000
commit8ff7729ee841d82fa829b2e0124dbafc0d838fc5 (patch)
tree83b79fb05327d005ceb6e7e0d2783347ebf63777 /capture_opts.h
parent95065da33d2d22cad046219e291e54cb2fce33be (diff)
Fix USB Class-Specific Control URB requests
Fixes Bug 10165. (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=10165) The condition that caused the bug is a non-standard URB where the length of the tvb is less than the reported length. It will pass the tvb_reported_length_remaining() != 0, but fail the assertion in tvb_composite_append() (which checks the length value, not reported_length). This condition appears in a few other locations (where the if statement checks reported_length, but the code inside the if statement uses the length value). This patch also fixes them. Also removes depricated calls to tvb_length() & tvb_length_remaining() with tvb_captured_length() & tvb_captured_length_remaining(), respectively. Change-Id: Ie8d50cfb24af62558c905c23c37ec603ce76366f Reviewed-on: https://code.wireshark.org/review/2011 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'capture_opts.h')
0 files changed, 0 insertions, 0 deletions