Index: branches/1.6.0/main/manager.c
===================================================================
--- branches/1.6.0/main/manager.c	(revision 109397)
+++ branches/1.6.0/main/manager.c	(revision 109398)
@@ -1982,7 +1982,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);
Index: branches/1.6.0/main/logger.c
===================================================================
--- branches/1.6.0/main/logger.c	(revision 109397)
+++ branches/1.6.0/main/logger.c	(revision 109398)
@@ -1145,7 +1145,7 @@
 
 	strcpy(logmsg->str, buf->str);
 
-	ast_log(LOG_VERBOSE, logmsg->str);
+	ast_log(LOG_VERBOSE, "%s", logmsg->str);
 
 	/* Set type */
 	logmsg->type = LOGMSG_VERBOSE;
