diff options
author | Milan Broz <mbroz@redhat.com> | 2006-06-26 00:27:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:35 -0700 |
commit | 143535396c7ebd9395a931a000b3963f457712b8 (patch) | |
tree | 725203a6ed6be6c795fa0f0441aa1b91f5ea8721 /drivers/parport | |
parent | e4c8b3ba34cc1aeab451c7a5cc843c5fd62cbe3d (diff) |
[PATCH] dm table: get_target: fix last index
The table is indexed from 0, so an index equal to t->num_targets should be
rejected.
(There is no code in the current tree that would exercise this bug.)
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions