From 2801f044867bb4b19f32b9468ffdcb2f8410aa3a Mon Sep 17 00:00:00 2001 From: Richard Lescak Date: Fri, 28 Jan 2022 16:29:20 +0100 Subject: [PATCH] Fix uninit value based jump in ppd.c --- cups/ppd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cups/ppd.c b/cups/ppd.c index 525df3592a..cfbca86b8a 100644 --- a/cups/ppd.c +++ b/cups/ppd.c @@ -3430,7 +3430,7 @@ ppd_update_filters(ppd_file_t *ppd, /* I - PPD file */ srctype[256], dstsuper[16], /* Destination MIME media type */ dsttype[256], - program[1024], /* Command to run */ + program[1024] = {0}, /* Command to run */ *ptr, /* Pointer into command to run */ buffer[1024], /* Re-written cupsFilter value */ **filter; /* Current filter */ -- 2.47.2