commit | 143535396c7ebd9395a931a000b3963f457712b8 | [log] [tgz] |
---|---|---|
author | Milan Broz <mbroz@redhat.com> | Mon Jun 26 00:27:27 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:35 2006 -0700 |
tree | 725203a6ed6be6c795fa0f0441aa1b91f5ea8721 | |
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>