vty: Print the string using "%s", string to avoid security issues
The Mandriva GCC is more strict about handling format strings, the
copyright string might contain escape sequences and then any memory
could be read.
diff --git a/src/vty/vty.c b/src/vty/vty.c
index e529ee7..eda3699 100644
--- a/src/vty/vty.c
+++ b/src/vty/vty.c
@@ -348,7 +348,7 @@
app_name, VTY_NEWLINE, VTY_NEWLINE);
if (host.app_info->copyright)
- vty_out(vty, host.app_info->copyright);
+ vty_out(vty, "%s", host.app_info->copyright);
if (host.motdfile) {
FILE *f;