diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-11-12 11:03:38 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-11-12 11:03:38 +0000 |
commit | 77958f22377d8dda770168c4d0a2e165b81b02c1 (patch) | |
tree | 44e63f213485fffc7215ce1d6ee5bb1939dff474 /usr.sbin/pstat | |
parent | 5cf7c0cf9ed87d1800a47cd68c00a6ebae0d726d (diff) |
Don't reuse a loop counter specifying the size of an array outside
of the loop to then access an offset in the array as this can lead
to an off by one.
found by parfait
ok miod@
Diffstat (limited to 'usr.sbin/pstat')
0 files changed, 0 insertions, 0 deletions