aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/310-passwd_access.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/310-passwd_access.patch')
-rw-r--r--package/busybox/patches/310-passwd_access.patch11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/busybox/patches/310-passwd_access.patch b/package/busybox/patches/310-passwd_access.patch
index b6a06cfd7c..22e6abcb01 100644
--- a/package/busybox/patches/310-passwd_access.patch
+++ b/package/busybox/patches/310-passwd_access.patch
@@ -1,10 +1,11 @@
Copyright (C) 2006 OpenWrt.org
-diff -ruN busybox-1.3.1-old/networking/httpd.c busybox-1.3.1/networking/httpd.c
---- busybox-1.3.1-old/networking/httpd.c 2006-12-28 18:17:23.000000000 +0100
-+++ busybox-1.3.1/networking/httpd.c 2006-12-28 19:56:34.000000000 +0100
-@@ -1381,12 +1381,26 @@
+Index: busybox-1.4.2/networking/httpd.c
+===================================================================
+--- busybox-1.4.2.orig/networking/httpd.c 2007-06-04 13:21:32.190083032 +0200
++++ busybox-1.4.2/networking/httpd.c 2007-06-04 13:21:34.401746808 +0200
+@@ -1402,12 +1402,26 @@
if (ENABLE_FEATURE_HTTPD_AUTH_MD5) {
char *cipher;
char *pp;
@@ -31,7 +32,7 @@ diff -ruN busybox-1.3.1-old/networking/httpd.c busybox-1.3.1/networking/httpd.c
if (pp && pp[1] == '$' && pp[2] == '1' &&
pp[3] == '$' && pp[4]) {
pp++;
-@@ -1396,6 +1410,10 @@
+@@ -1417,6 +1431,10 @@
/* unauthorized */
continue;
}