aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-17 21:34:42 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-17 21:34:42 +0000
commitecf37caff985ebb12603630564984a78deee182e (patch)
tree24b69cfe3086cafda802c104d07655333f43465b /IkiWiki.pm
parent43be4c519e809f223f4440591848031f37355b3e (diff)
downloadikiwiki-ecf37caff985ebb12603630564984a78deee182e.tar
ikiwiki-ecf37caff985ebb12603630564984a78deee182e.tar.gz
* Avoid potential syslog format string issue, although only older versions
of perl are vulnerable and it is not known to really be exploitable from ikiwiki.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 5f0dca385..2392c787b 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -174,7 +174,7 @@ sub log_message ($$) { #{{{
$log_open=1;
}
eval {
- Sys::Syslog::syslog($type, join(" ", @_));
+ Sys::Syslog::syslog($type, "%s", join(" ", @_));
}
}
elsif (! $config{cgi}) {