projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xmalloc_follow_symlinks() -- fix ELOOP issue with absolute paths,
[oweals/busybox.git]
/
libbb
/
update_passwd.c
diff --git
a/libbb/update_passwd.c
b/libbb/update_passwd.c
index e99db40c04b9b470c3005e6d7df679249d4f0088..d10e863c6c63de728e6c818e54993b5a4de3a4c7 100644
(file)
--- a/
libbb/update_passwd.c
+++ b/
libbb/update_passwd.c
@@
-52,7
+52,7
@@
int update_passwd(const char *filename, const char *username,
int cnt = 0;
int ret = -1; /* failure */
- filename = xmalloc_
readlink_follow
(filename);
+ filename = xmalloc_
follow_symlinks
(filename);
if (filename == NULL)
return -1;