===================================================================
--- init/init.c (revision 20841)
+++ init/init.c (working copy)
@@ -757,7 +757,7 @@
/* Skip leading spaces */
id = skip_whitespace(buf);
/* Skip the line if it's a comment */
- if (*id == '#' || *id == '\n')
+ if (*id == '#' || *id == '\n' || (*id == '\0'))
continue;
/* Trim the trailing '\n' */
*strchrnul(id, '\n') = '\0';
-------------- next part --------------