kbuild: scripts/basic/fixdep segfault on pathological string-o-death
authorAndy Green <andy@warmcat.com>
Wed, 2 May 2007 11:49:06 +0000 (12:49 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 19:35:03 +0000 (21:35 +0200)
commit04c58f8196b386948abf68128605de3d2db3c6ba
treef8dc6efb0d8911ee6092830c6bbdc7910bca3d5f
parent1e093ecd4a850ad61b93d84c221e342a67ea9d56
kbuild: scripts/basic/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>
scripts/basic/fixdep.c