From 93c38f2b860ae7e35fc62b01c5960d85d5d2ccc7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 25 Aug 2010 21:38:48 +0000 Subject: uhttpd: fix segfault triggered by Basic Auth checking SVN-Revision: 22805 --- package/uhttpd/Makefile | 2 +- package/uhttpd/src/uhttpd-utils.c | 2 -- 2 files changed, 1 insertion(+), 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 */ -- cgit v1.2.3