X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/41d62be633139751f8188f4541a9ded605f360d0..4fba0adb64e5ae81be808503d9baf46f8a1aeb2d:/package/busybox/patches/310-passwd_access.patch?ds=inline diff --git a/package/busybox/patches/310-passwd_access.patch b/package/busybox/patches/310-passwd_access.patch index 78a43d778..6ab6d4b8c 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 @@ +@@ -1699,21 +1699,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;