backport from pre3:

fix a string format vulnerability
(probably not exploitable)


svn:r2477
This commit is contained in:
Roger Dingledine
2004-10-13 21:58:24 +00:00
parent 4c44f4a3cb
commit 7da0c2d705
+1 -1
View File
@@ -287,7 +287,7 @@ void rep_hist_dump_stats(time_t now, int severity)
break;
}
}
log(severity, buffer);
log(severity, "%s", buffer);
}
}
}