[PATCH] kbuild: fixdep segfault on pathological string-o-death
commit1ea6b2418cd2c6a6f31067ed6ece5cd12c69351e
authorAndy Green <andy@warmcat.com>
Wed, 2 May 2007 19:48:37 +0000 (2 21:48 +0200)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:42 +0000 (23 14:32 -0700)
treeef0c5012cf7fe4effd140c08698cfcf9ec63157a
parent1a2d9659b8e34589df00698fbd0fa5819fa59994
[PATCH] kbuild: fixdep segfault on pathological string-o-death

build scripts: fixdep blows segfault on string CONFIG_MODULE seen

The string "CONFIG_MODULE" appearing anywhere in a source file causes
fixdep to segfault.  This string appeared in the wild in the current
mISDN sources (I think they meant CONFIG_MODULES).  But it shouldn't
segfault (esp as CONFIG_MODULE appeared in a quoted string).

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
scripts/basic/fixdep.c