diff options
author | Joe Perches <joe@perches.com> | 2010-03-05 13:43:07 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-15 09:07:05 -0700 |
commit | c54f376268f49f0fceebe06c7079b75da3ed0e74 (patch) | |
tree | cd5e5ff414dc2e4a4f4ec2a417bfbac9aabad315 /drivers/rtc | |
parent | a8fe08331a02dda324267364d3f7cafb94ae60ff (diff) |
scripts/get_maintainer.pl: fix possible infinite loop
commit 3c840c18bcd8efb37f1a565e83a9509e1ea5d105 upstream.
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions