From 7da0c2d705ff0907879d8e90dd8a859b8f898588 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 13 Oct 2004 21:58:24 +0000 Subject: [PATCH] backport from pre3: fix a string format vulnerability (probably not exploitable) svn:r2477 --- branches/tor-0_0_8-patches/src/or/rephist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/branches/tor-0_0_8-patches/src/or/rephist.c b/branches/tor-0_0_8-patches/src/or/rephist.c index 1638d52e11..ed701009bc 100644 --- a/branches/tor-0_0_8-patches/src/or/rephist.c +++ b/branches/tor-0_0_8-patches/src/or/rephist.c @@ -287,7 +287,7 @@ void rep_hist_dump_stats(time_t now, int severity) break; } } - log(severity, buffer); + log(severity, "%s", buffer); } } }