diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-17 21:34:42 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-17 21:34:42 +0000 |
commit | ecf37caff985ebb12603630564984a78deee182e (patch) | |
tree | 24b69cfe3086cafda802c104d07655333f43465b /IkiWiki.pm | |
parent | 43be4c519e809f223f4440591848031f37355b3e (diff) | |
download | ikiwiki-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.pm | 2 |
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}) { |