From: Jo-Philipp Wich Date: Wed, 25 Aug 2010 21:38:48 +0000 (+0000) Subject: uhttpd: fix segfault triggered by Basic Auth checking X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93c38f2b860ae7e35fc62b01c5960d85d5d2ccc7;p=openwrt%2Fstaging%2Fansuel.git uhttpd: fix segfault triggered by Basic Auth checking SVN-Revision: 22805 --- diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile index 1227174536..086c294580 100644 --- a/package/uhttpd/Makefile +++ b/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 diff --git a/package/uhttpd/src/uhttpd-utils.c b/package/uhttpd/src/uhttpd-utils.c index 8a06c930af..3821eb54cb 100644 --- a/package/uhttpd/src/uhttpd-utils.c +++ b/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 */