Do not overwrite pointer "p" when calling is_kernel_type()
authorH. Peter Anvin <hpa@zytor.com>
Sat, 24 Feb 2007 00:37:26 +0000 (16:37 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 24 Feb 2007 00:37:26 +0000 (16:37 -0800)
commit2fec00bac64a8a11740417188a39c7ab48492f0a
tree832cdf484f0343844350eb0045a3533613b5bdbf
parentaf73bb362c3a01243eb8ddbda6646524c4496eca
Do not overwrite pointer "p" when calling is_kernel_type()

If is_kernel_type() returns NULL, we don't want it to set p to NULL,
or subsequent options won't be parsed.

Bug report from Ram Yalamanchili.
com32/modules/readconfig.c