projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix rejection of dns responses with pointers past 512 byte offset
[musl]
/
src
/
passwd
/
putpwent.c
diff --git
a/src/passwd/putpwent.c
b/src/passwd/putpwent.c
index
3a02e57
..
312b765
100644
(file)
--- a/
src/passwd/putpwent.c
+++ b/
src/passwd/putpwent.c
@@
-4,7
+4,7
@@
int putpwent(const struct passwd *pw, FILE *f)
{
- return fprintf(f, "%s:%s:%
d:%d
:%s:%s:%s\n",
+ return fprintf(f, "%s:%s:%
u:%u
:%s:%s:%s\n",
pw->pw_name, pw->pw_passwd, pw->pw_uid, pw->pw_gid,
pw->pw_gecos, pw->pw_dir, pw->pw_shell)<0 ? -1 : 0;
}