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

(-)b/sys/cam/ctl/ctl.c (+2 lines)
Lines 2445-2450 ctl_copyin_args(int num_args, struct ctl_be_arg *uargs, Link Here
2445
			 && (tmpptr[args[i].vallen - 1] != '\0')) {
2443
			 && (tmpptr[args[i].vallen - 1] != '\0')) {
2446
				snprintf(error_str, error_str_len, "Argument "
2444
				snprintf(error_str, error_str_len, "Argument "
2447
				    "%d value is not NUL-terminated", i);
2445
				    "%d value is not NUL-terminated", i);
2446
				free(tmpptr, M_CTL);
2447
				tmpptr = NULL;
2448
				goto bailout;
2448
				goto bailout;
2449
			}
2449
			}
2450
			args[i].kvalue = tmpptr;
2450
			args[i].kvalue = tmpptr;

Return to bug 207626