From e56f60644f076858ae9fb73c596af721af000de8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 5 Aug 2008 18:29:52 +0000 Subject: [PATCH] * upsi. this line copying mustn't be in there. --- webcit/context_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit/context_loop.c b/webcit/context_loop.c index d63d829c1..eb73cd44c 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -378,12 +378,12 @@ void context_loop(int sock) strcpy(ptr+1, ptr+8); } + safestrncpy(buf, req->line, sizeof buf); /** Begin parsing the request. */ #ifdef TECH_PREVIEW if ((strncmp(req->line+4, "/sslg", 5) != 0) && (strncmp(req->line+4, "/wholist_section", 16) != 0)) { #endif - safestrncpy(buf, req->line, sizeof buf); lprintf(5, "HTTP: %s\n", buf); #ifdef TECH_PREVIEW } -- 2.39.2