From 97844d4081fd0f9549ed041c5bece170d82e0e53158e0596e5348ab41415a7d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Tue, 3 Dec 2013 14:49:37 +0000 Subject: [PATCH] refresh patch OBS-URL: https://build.opensuse.org/package/show/server:http/thttpd?expand=0&rev=20 --- thttpd-CVE-2013-0348.patch | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/thttpd-CVE-2013-0348.patch b/thttpd-CVE-2013-0348.patch index 94711bd..bf996f1 100644 --- a/thttpd-CVE-2013-0348.patch +++ b/thttpd-CVE-2013-0348.patch @@ -14,11 +14,11 @@ Signed-off-by: Anthony G. Basile src/thttpd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -diff --git a/src/thttpd.c b/src/thttpd.c -index 019b8c0..f33a7a7 100644 ---- a/src/thttpd.c -+++ b/src/thttpd.c -@@ -326,6 +326,7 @@ static void +Index: thttpd-2.25b/thttpd.c +=================================================================== +--- thttpd-2.25b.orig/thttpd.c 2013-12-03 15:38:31.719334530 +0100 ++++ thttpd-2.25b/thttpd.c 2013-12-03 15:38:31.754334893 +0100 +@@ -331,6 +331,7 @@ static void re_open_logfile( void ) { FILE* logfp; @@ -26,7 +26,7 @@ index 019b8c0..f33a7a7 100644 if ( no_log || hs == (httpd_server*) 0 ) return; -@@ -335,7 +336,8 @@ re_open_logfile( void ) +@@ -340,7 +341,8 @@ re_open_logfile( void ) { syslog( LOG_NOTICE, "re-opening logfile" ); logfp = fopen( logfile, "a" ); @@ -36,7 +36,7 @@ index 019b8c0..f33a7a7 100644 { syslog( LOG_CRIT, "re-opening %.80s - %m", logfile ); return; -@@ -355,6 +357,7 @@ main( int argc, char** argv ) +@@ -360,6 +362,7 @@ main( int argc, char** argv ) gid_t gid = 32767; char cwd[MAXPATHLEN+1]; FILE* logfp; @@ -44,7 +44,7 @@ index 019b8c0..f33a7a7 100644 int num_ready; int cnum; connecttab* c; -@@ -424,7 +427,8 @@ main( int argc, char** argv ) +@@ -429,7 +432,8 @@ main( int argc, char** argv ) else { logfp = fopen( logfile, "a" ); @@ -54,7 +54,3 @@ index 019b8c0..f33a7a7 100644 { syslog( LOG_CRIT, "%.80s - %m", logfile ); perror( logfile ); --- -1.7.9.5 - -