diff -urN oldtree/scripts/mod/modpost.c newtree/scripts/mod/modpost.c --- oldtree/scripts/mod/modpost.c 2006-06-10 15:51:33.000000000 +0000 +++ newtree/scripts/mod/modpost.c 2006-06-16 13:05:47.185918750 +0000 @@ -1290,8 +1290,10 @@ goto fail; *modname++ = '\0'; if (!(export = strchr(modname, '\t'))) - *export++ = '\0'; - + goto fail; + *export++ = '\0'; + if (strchr(export, '\t')) + goto fail; crc = strtoul(line, &d, 16); if (*symname == '\0' || *modname == '\0' || *d != '\0') goto fail;