git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed8570
)
[SCSI] FlashPoint: fix off by one tests
author
Dan Carpenter
<error27@gmail.com>
Mon, 28 Dec 2009 18:08:39 +0000
(20:08 +0200)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:14 +0000
(10:48 -0600)
The check on MAX_SCSI_TAR should be >= instead of > or we could go past the
end of the array.
Joe Eykholt aslo correctly points out that the check on MAX_LUN should be
>= as well. That matches with how it is used in the rest of the file.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
No differences found