aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-03-29 21:52:57 +0300
committerGreg Kroah-Hartman <[email protected]>2012-04-10 09:18:59 -0700
commit3fd654c22c7b002e8681accaed50a6d46656d815 (patch)
tree563fa1c91ab64dae91a04254efe6be3ce9029c8f /net/lapb/lapb_iface.c
parent678b7c17073a9e383f204c3e8e0000821afb6103 (diff)
Staging: rts_pstor: off by one in for loop
I already fixed the other similar for loop in this file. I'm not sure how I missed this one. We use seg_no+1 inside the loop so we can't go right up to the end of the loop. Also if we don't break out of the loop then we end up past the end of the array, but with this fix we end up on the last element. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions