FreeBSD Bugzilla – Attachment 6337 Details for
Bug 14465
vipw depends upon malloc() returning zero-filled memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 538 bytes, created by
fanf
on 1999-10-23 14:47:19 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
fanf
Created:
1999-10-23 14:47:19 UTC
Size:
538 bytes
patch
obsolete
>--- /usr/src/usr.sbin/vipw/vipw.c.orig Fri Oct 22 19:24:51 1999 >+++ /usr/src/usr.sbin/vipw/vipw.c Fri Oct 22 19:25:51 1999 >@@ -81,8 +81,9 @@ > err(1, NULL); > strcpy(masterpasswd, optarg); > if (masterpasswd[strlen(masterpasswd) - 1] != '/') >- masterpasswd[strlen(masterpasswd)] = '/'; >- strcat(masterpasswd, _MASTERPASSWD); >+ strcat(masterpasswd, "/" _MASTERPASSWD); >+ else >+ strcat(masterpasswd, _MASTERPASSWD); > if ((mppath = strdup(optarg)) == NULL) > err(1, NULL); > if (mppath[strlen(mppath) - 1] == '/')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14465
: 6337