aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-04-28 12:11:35 -0400
committerMichael Mann <mmann78@netscape.net>2014-04-28 21:02:54 +0000
commit72fc075e9a6b3ba79e49668e74a8dd187fc04f8a (patch)
treeb4cde394f4913ad53ed50dbdfe73494cf9623655 /randpkt.c
parent3765e99a07f65a34b06d9d5b3b48805750d7021f (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 'randpkt.c')
0 files changed, 0 insertions, 0 deletions