Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > f331466ffcef1a5c613554bb604033ee > files > 40

apache-2.2.23-1.mga1.src.rpm

--- server/mpm/experimental/peruser/peruser.c	2010-03-02 15:12:37.922285731 +0100
+++ server/mpm/experimental/peruser/peruser.c.oden	2010-03-02 15:31:11.649188739 +0100
@@ -552,11 +552,11 @@ static void accept_mutex_on(void)
 
         if (ap_my_generation != 
             ap_scoreboard_image->global->running_generation) {
-            ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, NULL, msg);
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, NULL, "%s", msg);
             clean_child_exit(0);
         }
         else {
-            ap_log_error(APLOG_MARK, APLOG_EMERG, rv, NULL, msg);
+            ap_log_error(APLOG_MARK, APLOG_EMERG, rv, NULL, "%s", msg);
             exit(APEXIT_CHILDFATAL);
         }
     }
@@ -570,14 +570,14 @@ static void accept_mutex_off(void)
 
         if (ap_my_generation != 
             ap_scoreboard_image->global->running_generation) {
-            ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, NULL, msg);
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, NULL, "%s", msg);
             /* don't exit here... we have a connection to
              * process, after which point we'll see that the
              * generation changed and we'll exit cleanly
              */
         }
         else {
-            ap_log_error(APLOG_MARK, APLOG_EMERG, rv, NULL, msg);
+            ap_log_error(APLOG_MARK, APLOG_EMERG, rv, NULL, "%s", msg);
             exit(APEXIT_CHILDFATAL);
         }
     }