From 2a1916824cd0ddaaf2c860ffe75eff390555420b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 16 Aug 2017 09:08:27 -0600 Subject: [PATCH] printing: use bigger on-stack buffer We might be writing more than 20 bytes, bump up the size to be safe. Signed-off-by: Jens Axboe --- printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printing.c b/printing.c index 4dcc9861..b58996bb 100644 --- a/printing.c +++ b/printing.c @@ -31,7 +31,7 @@ static void results_draw_page(GtkPrintOperation *operation, gpointer data) { cairo_t *cr; - char str[20]; + char str[32]; double x, y; cr = gtk_print_context_get_cairo_context(context); -- 2.25.1