[Bug 234972] yppasswdd cannot update passwd (rename of /var/yp to /var/yp/master. passwd.hold failed)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 28 15:16:06 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234972
--- Comment #3 from Bernard Marshall <Bernard.Marshall at axiell.com> ---
(In reply to Edward Fuhr from comment #2)
Thanks for looking into this Edward. A quick comment on your patch. I think you
have forgotten to initialise "passdir_buf" in
"yppasswdproc_update_master_1_svc". I suspect you need to add:
/* Hold a copy of the passfile in passdir */
snprintf(passdir_buf, sizeof(passdir_buf), "%s", passfile);
passdir = (char *)&passdir_buf;
around line 831 in the current file, otherwise passdir_buf will not be
initialised with passfile.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list