tFix a remote exploit against the Win32 server. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit dc922d3e889adf1a97e9cd0cbf4f7472813e6a16
(DIR) parent 1a60a817c12f22f4ec90b69c48b8bae54d2e07da
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sat, 22 Oct 2005 08:00:22 +0000
Fix a remote exploit against the Win32 server.
Diffstat:
M ChangeLog | 1 +
M src/winmain.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/ChangeLog b/ChangeLog
t@@ -2,6 +2,7 @@ CVS
- Add example configuration file to the documentation.
- Fixed various typos in the German translation (thanks to Jens Seidel
and Francois Marier).
+ - Fix a remote exploit against the Win32 server.
1.5.10 24-10-2004
- High score file is now installed in ${localstatedir} rather than
(DIR) diff --git a/src/winmain.c b/src/winmain.c
t@@ -112,7 +112,7 @@ static void LogFileStart()
static void LogFilePrintFunc(const gchar *string)
{
if (LogFile) {
- fprintf(LogFile, string);
+ fprintf(LogFile, "%s", string);
fflush(LogFile);
}
}