From: Andrej Shadura <andrew.shadura@collabora.co.uk>
Date: Mon, 3 Mar 2025 13:21:35 +0100
Subject: Enlarge the buffer to prevent overflows

FIXME: This is a hack, not a proper fix.

Bug-Debian: https://bugs.debian.org/1096680
---
 bdf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bdf.c b/bdf.c
index 988c56b..fb2b491 100644
--- a/bdf.c
+++ b/bdf.c
@@ -2065,7 +2065,7 @@ _bdf_parse_hbf_header(char *line, unsigned int linelen, unsigned int lineno,
     char *name, *value;
     _bdf_parse_t *p;
     _bdf_line_func_t *next;
-    char nbuf[24];
+    char nbuf[64];
 
     next = (_bdf_line_func_t *) call_data;
     p = (_bdf_parse_t *) client_data;
@@ -2274,7 +2274,7 @@ _bdf_add_hbf_glyph(HBF *hbf, unsigned int code, void *callback_data)
     _bdf_parse_t *p;
     HBF_BBOX *fbbx;
     double ps, rx, dw;
-    char nbuf[24];
+    char nbuf[64];
 
     /*
      * Attempt to get the bitmap.
