mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Make sure values are interpreted as character strings and not format strings.
(AST-2008-004) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1145,7 +1145,7 @@ void ast_verbose(const char *fmt, ...)
|
||||
|
||||
strcpy(logmsg->str, buf->str);
|
||||
|
||||
ast_log(LOG_VERBOSE, logmsg->str);
|
||||
ast_log(LOG_VERBOSE, "%s", logmsg->str);
|
||||
|
||||
/* Set type */
|
||||
logmsg->type = LOGMSG_VERBOSE;
|
||||
|
Reference in New Issue
Block a user