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

(-)ssh.c (-2 / +1 lines)
Lines 513-522 Link Here
513
	pwcopy.pw_passwd = xstrdup(pw->pw_passwd);
513
	pwcopy.pw_passwd = xstrdup(pw->pw_passwd);
514
	pwcopy.pw_uid = pw->pw_uid;
514
	pwcopy.pw_uid = pw->pw_uid;
515
	pwcopy.pw_gid = pw->pw_gid;
515
	pwcopy.pw_gid = pw->pw_gid;
516
	pwcopy.pw_class = xstrdup(pw->pw_class);
517
	pwcopy.pw_dir = xstrdup(pw->pw_dir);
516
	pwcopy.pw_dir = xstrdup(pw->pw_dir);
518
	pwcopy.pw_shell = xstrdup(pw->pw_shell);
517
	pwcopy.pw_shell = xstrdup(pw->pw_shell);
519
	pwcopy.pw_class = xstrdup(pw->pw_class);
518
	pwcopy.pw_class = xstrdup(pw->pw_class ? pw->pw_class : "");
520
	pwcopy.pw_expire = pw->pw_expire;
519
	pwcopy.pw_expire = pw->pw_expire;
521
	pwcopy.pw_change = pw->pw_change;
520
	pwcopy.pw_change = pw->pw_change;
522
	pw = &pwcopy;
521
	pw = &pwcopy;

Return to bug 22307