]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix uninit value based jump in ppd.c 329/head
authorRichard Lescak <rlescak@redhat.com>
Fri, 28 Jan 2022 15:29:20 +0000 (16:29 +0100)
committerRichard Lescak <rlescak@redhat.com>
Fri, 28 Jan 2022 15:29:20 +0000 (16:29 +0100)
cups/ppd.c

index 525df3592a84b46dd59da74501361521ed423efe..cfbca86b8adab37d9e6a1c42deef99da2a36e424 100644 (file)
@@ -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 */