diff options
author | Joe Perches <joe@perches.com> | 2010-03-05 13:43:07 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 11:26:34 -0800 |
commit | 3c840c18bcd8efb37f1a565e83a9509e1ea5d105 (patch) | |
tree | cf1a0d872188bf3857354a8622fff3e7dc0c0709 /scripts/headerdep.pl | |
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>
Diffstat (limited to 'scripts/headerdep.pl')
0 files changed, 0 insertions, 0 deletions