X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=package%2Fbusybox%2Fpatches%2F310-passwd_access.patch;h=fef9d3a7a8caa1cebec5366b1f61afc58d7c4a44;hb=6b9e04991d241fdafbdf9e899e4ea1ac2c4f5cd4;hp=78a43d7782dfd4cb957984379dcfd04a72cd3788;hpb=20054336c020c5addb469855237b4228bc5aaf48;p=oweals%2Fopenwrt.git diff --git a/package/busybox/patches/310-passwd_access.patch b/package/busybox/patches/310-passwd_access.patch index 78a43d7782..fef9d3a7a8 100644 --- a/package/busybox/patches/310-passwd_access.patch +++ b/package/busybox/patches/310-passwd_access.patch @@ -3,7 +3,7 @@ --- a/networking/httpd.c +++ b/networking/httpd.c -@@ -1697,21 +1697,32 @@ +@@ -1716,21 +1716,32 @@ static int check_user_passwd(const char if (ENABLE_FEATURE_HTTPD_AUTH_MD5) { char *md5_passwd; @@ -17,7 +17,7 @@ + + pwd = getpwnam(&md5_passwd[4]); + if(!pwd->pw_passwd || !pwd->pw_passwd[0] || pwd->pw_passwd[0] == '!') -+ continue; ++ return 1; + + md5_passwd = pwd->pw_passwd; + goto check_md5_pw;