]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1-format-security.patch
- fix -Wformat-security error
[packages/apache1.git] / apache1-format-security.patch
diff --git a/apache1-format-security.patch b/apache1-format-security.patch
new file mode 100644 (file)
index 0000000..eab027b
--- /dev/null
@@ -0,0 +1,11 @@
+--- apache_1.3.42/src/main/http_log.c~ 2006-07-12 10:16:05.000000000 +0200
++++ apache_1.3.42/src/main/http_log.c  2012-11-12 22:36:48.615990057 +0100
+@@ -487,7 +487,7 @@
+        *      that may screw up scripts written to do something
+        *      based on the last modification time of the pid file.
+        */
+-      ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, NULL,
++      ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, NULL, "%s",
+                  ap_psprintf(p,
+                              "pid file %s overwritten -- Unclean shutdown of previous Apache run?",
+                              fname)
This page took 0.028685 seconds and 4 git commands to generate.