xrdp: Fix format string vulnerability
The the string being printer contains a "%", this could crash xrdp.
This commit is contained in:
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…
Reference in New Issue
Block a user