File: mod_rivet-fmtsec.patch

package info (click to toggle)
libapache2-mod-rivet 2.0.5-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,132 kB
  • sloc: xml: 13,467; sh: 12,256; ansic: 8,450; tcl: 4,842; makefile: 163; lisp: 78; sql: 76
file content (20 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/apache-2/mod_rivet.c
+++ b/src/apache-2/mod_rivet.c
@@ -1304,7 +1304,7 @@
     }
 
     ap_log_error(APLOG_MARK, APLOG_CRIT, APR_EGENERAL, 
-		 rivet_panic_server_rec, buf);
+		 rivet_panic_server_rec,"%s",  buf);
 
     abort();
 }
@@ -1459,7 +1459,7 @@
     }
     if (Tcl_Init(interp) == TCL_ERROR)
     {
-        ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, s,
+        ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, s, "%s",
                 Tcl_GetStringResult(interp));
         exit(1);
     }