commit | 3c840c18bcd8efb37f1a565e83a9509e1ea5d105 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Fri Mar 05 13:43:07 2010 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Mar 06 11:26:34 2010 -0800 |
tree | cf1a0d872188bf3857354a8622fff3e7dc0c0709 | |
parent | a63ceb4c36a7674f7efa90e8ba96b44a3989d717 [diff] |
scripts/get_maintainer.pl: fix possible infinite loop If MAINTAINERS section entries are misformatted, it was possible to have an infinite loop. Correct the defect by always moving the index to the end of section + 1 Also, exit check for exclude as soon as possible. Signed-off-by: Joe Perches <joe@perches.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>