diff options
author | ArvidNorr <norrarvid@gmail.com> | 2013-02-01 10:00:39 +0100 |
---|---|---|
committer | ArvidNorr <norrarvid@gmail.com> | 2013-02-01 10:00:39 +0100 |
commit | fe69d2f07bf13e5df13382e1f088f05fe70d5de4 (patch) | |
tree | 59b19754aefef0848d0e93952dbac1259e6c5a98 /common/log.c | |
parent | 6c2c4a9b11450114b2e4a7766c081a05a0f1fc30 (diff) | |
download | xrdp-proprietary-fe69d2f07bf13e5df13382e1f088f05fe70d5de4.tar.gz xrdp-proprietary-fe69d2f07bf13e5df13382e1f088f05fe70d5de4.zip |
Comments and debug when blocking channels added. Fix for potential vulnerability in log.c
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c index e8e005f0..d8279600 100644 --- a/common/log.c +++ b/common/log.c @@ -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 |