aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-07 15:56:49 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-07 15:56:49 +0000
commit1403c9173337ce4ac6ab0dd83158d0101a15bc39 (patch)
tree4d635b9bd3566ff6c21c5e2603403cdbf34a4ef7 /main
parent17b855cd516106ec4bc08f860fe9e9a03194bcd0 (diff)
Fixing a segfault in the manager "core show channels concise" command.
(closes issue #11183, reported by arnd and patched by ys) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89085 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index 3a15cfe38..54c7c1adf 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -1648,7 +1648,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);