On Sun, 23 Jul 2006, Brad Arrington wrote:
Thanks Brad,
>
> 5.0.1-rc1
Apply the patches on kernel.org and check again.
I think you'll find this is completely different now.
>
> 647 what = alloca(loclen + 1);
> 648 memcpy(what, loc, loclen);
> 649 what[loclen] = '\0';
> 650 /*
> 651 if (!strcmp(fstype, "autofs") && strchr(loc, ':') == NULL) {
> 652 char mtype[7];
> 653 int mtype_len;
> 654
> 655 if (loc[0] == '/') {
> 656 mtype_len = 5;
> 657 if (loc[1] == '/')
> 658 strcpy(mtype, "ldap:");
> 659 else
> 660 strcpy(mtype, "file:");
> 661 } else {
> 662 mtype_len = 3;
> 663 strcpy(mtype, "yp:");
> 664 }
> 665
> 666 what = alloca(loclen + mtype_len + 1);
> 667 memcpy(what, mtype, mtype_len);
> 668 memcpy(what + mtype_len, loc, loclen);
> 669 what[loclen + mtype_len] = '\0';
> 670 } else {
> 671 */
> 672 what = alloca(loclen + 1);
> 673 memcpy(what, loc, loclen);
> 674 what[loclen] = '\0';
> 675 /* } */
>
Ian
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs