diff options
author | Evan Huus <eapache@gmail.com> | 2014-04-28 12:11:35 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-04-28 21:02:54 +0000 |
commit | 72fc075e9a6b3ba79e49668e74a8dd187fc04f8a (patch) | |
tree | b4cde394f4913ad53ed50dbdfe73494cf9623655 /capture.h | |
parent | 3765e99a07f65a34b06d9d5b3b48805750d7021f (diff) |
Fix potential invalid-reads in catapult files
As caught by CppCheck, the conditions checking that n is in bounds should
occur *before* the conditions using n as an index so that if n is out of bounds
we don't try and use it anyways.
Change-Id: I107c983153aa12203f8c88b14e1addd3807d6b6e
Reviewed-on: https://code.wireshark.org/review/1415
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'capture.h')
0 files changed, 0 insertions, 0 deletions