Browse Source

uhttpd: fix segfault triggered by Basic Auth checking

SVN-Revision: 22805
Jo-Philipp Wich 15 years ago
parent
commit
93c38f2b86
2 changed files with 1 additions and 3 deletions
  1. 1 1
      package/uhttpd/Makefile
  2. 0 2
      package/uhttpd/src/uhttpd-utils.c

+ 1 - 1
package/uhttpd/Makefile

@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uhttpd
-PKG_RELEASE:=16
+PKG_RELEASE:=17
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 PKG_BUILD_DEPENDS := libcyassl liblua

+ 0 - 2
package/uhttpd/src/uhttpd-utils.c

@@ -728,8 +728,6 @@ int uh_auth_check(
 					req->realm = realm;
 					break;
 				}
-
-				realm = NULL;
 			}
 
 			/* found a realm matching the username */