diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-25 21:38:48 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-25 21:38:48 +0000 |
commit | ccdc9b717276110ac707ae082b8aca60bd9a9056 (patch) | |
tree | ea8089646c6cfea783d9990086ab228c38bec805 /package/uhttpd | |
parent | 263c4628d2a71dddfce7db89116f1d7a6c8086e3 (diff) | |
download | upstream-ccdc9b717276110ac707ae082b8aca60bd9a9056.tar.gz upstream-ccdc9b717276110ac707ae082b8aca60bd9a9056.tar.bz2 upstream-ccdc9b717276110ac707ae082b8aca60bd9a9056.zip |
[package] uhttpd: fix segfault triggered by Basic Auth checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22805 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd')
-rw-r--r-- | package/uhttpd/Makefile | 2 | ||||
-rw-r--r-- | package/uhttpd/src/uhttpd-utils.c | 2 |
2 files changed, 1 insertions, 3 deletions
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 */ |