[svn-commits] mmichelson: branch 1.4 r89085 - /branches/1.4/main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 7 09:56:49 CST 2007


Author: mmichelson
Date: Wed Nov  7 09:56:49 2007
New Revision: 89085

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89085
Log:
Fixing a segfault in the manager "core show channels concise" command.

(closes issue #11183, reported and patched by arnd)


Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=89085&r1=89084&r2=89085
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Wed Nov  7 09:56:49 2007
@@ -1648,7 +1648,7 @@
 			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);




More information about the svn-commits mailing list