xrdp: Fix format string vulnerability

The the string being printer contains a "%", this could crash xrdp.
ulab-next
Philipp Hahn 12 years ago
parent 397089a207
commit 1a4ed6d3fd

@ -617,7 +617,7 @@ log_message(const enum logLevels lvl, const char *msg, ...)
if (lvl <= staticLogConfig->log_level)
{
/* log to console */
g_printf(buff);
g_printf("%s", buff);
/* log to application logfile */
#ifdef LOG_ENABLE_THREAD

Loading…
Cancel
Save