View | Details | Raw Unified | Return to bug 6575
Collapse All | Expand All

(-)busybox-1.00/modutils/insmod.c.orig (-1 / +1 lines)
Lines 4037-4043 Link Here
4037
	}
4038
	}
4038
4039
4039
	/* Rest is options */
4040
	/* Rest is options */
4040
	for (i = 2; i < argc; i++) {
4041
	for (i = optind+1; i < argc; i++) {
4041
		options = xrealloc(options, strlen(options) + 2 + strlen(argv[i]) + 2);
4042
		options = xrealloc(options, strlen(options) + 2 + strlen(argv[i]) + 2);
4042
		/* Spaces handled by "" pairs, but no way of escaping quotes */
4043
		/* Spaces handled by "" pairs, but no way of escaping quotes */
4043
		if (strchr(argv[i], ' ')) {
4044
		if (strchr(argv[i], ' ')) {

Return to bug 6575