diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-18 15:13:07 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-18 15:13:07 +0000 |
commit | 421d5fe68591bbafcf04602c3bba927cac40a2a9 (patch) | |
tree | beb50e031584cb8c2a22e67052cbcbae2d03fe37 /main/manager.c | |
parent | 796be77ce2f792346ce8a996067e5b34d74fe4c2 (diff) |
Make sure values are interpreted as character strings and not format strings.
(AST-2008-004)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109396 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/manager.c')
-rw-r--r-- | main/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c index 7633b6e3f..1d4ff1857 100644 --- a/main/manager.c +++ b/main/manager.c @@ -2051,7 +2051,7 @@ static int action_command(struct mansession *s, const struct message *m) term_strip(final_buf, buf, l); final_buf[l] = '\0'; } - astman_append(s, S_OR(final_buf, buf)); + astman_append(s, "%s", S_OR(final_buf, buf)); ast_free(buf); } close(fd); |