From: Richard Lescak Date: Fri, 28 Jan 2022 15:29:20 +0000 (+0100) Subject: Fix uninit value based jump in ppd.c X-Git-Tag: v2.4.2~47^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2801f044867bb4b19f32b9468ffdcb2f8410aa3a;p=thirdparty%2Fcups.git Fix uninit value based jump in ppd.c --- 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 */