From: Andrej Shadura <andrewsh@debian.org>
Date: Thu, 13 Oct 2016 13:11:39 +0200
Subject: Fix format-security bugs

---
 bdf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bdf.c b/bdf.c
index cf0e9a7..988c56b 100644
--- a/bdf.c
+++ b/bdf.c
@@ -2843,14 +2843,14 @@ bdf_save_font(FILE *out, bdf_font_t *font, bdf_options_t *opts,
         bpr = ((c->bbx.width * font->bpp) + 7) >> 3;
         for (j = 0; bpr != 0 && j < c->bytes; j++) {
             if (j && j % bpr == 0)
-              fprintf(out, eol);
+              fprintf(out, "%s", eol);
             fprintf(out, "%02X", c->bitmap[j]);
         }
         /*
          * Handle empty bitmaps like this.
          */
         if (c->bbx.height > 0)
-          fprintf(out, eol);
+          fprintf(out, "%s", eol);
         fprintf(out, "ENDCHAR%s", eol);
 
         /*
@@ -2915,14 +2915,14 @@ bdf_save_font(FILE *out, bdf_font_t *font, bdf_options_t *opts,
         bpr = ((c->bbx.width * font->bpp) + 7) >> 3;
         for (j = 0; bpr != 0 && j < c->bytes; j++) {
             if (j && j % bpr == 0)
-              fprintf(out, eol);
+              fprintf(out, "%s", eol);
             fprintf(out, "%02X", c->bitmap[j]);
         }
         /*
          * Handle empty bitmaps like this.
          */
         if (c->bbx.height > 0)
-          fprintf(out, eol);
+          fprintf(out, "%s", eol);
         fprintf(out, "ENDCHAR%s", eol);
 
         /*
