From: Zdenek Dohnal Date: Wed, 9 Feb 2022 08:39:13 +0000 (+0100) Subject: Update code style and CHANGES.md X-Git-Tag: v2.4.2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb9984fb7b4e32cb38de4b299ac68edb235b1be4;p=thirdparty%2Fcups.git Update code style and CHANGES.md --- diff --git a/CHANGES.md b/CHANGES.md index d22a8d20ee..2f2bce0ea8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ CHANGES - OpenPrinting CUPS 2.4.1 - 2022-01-27 ============================================== +Changes in CUPS v2.4.2 (TBA) +---------------------------- + +- Fixed conditional jump based on uninitialized value in cups/ppd.c (Issue #329) + + Changes in CUPS v2.4.1 (27th January 2020) ------------------------------------------ diff --git a/cups/ppd.c b/cups/ppd.c index cfbca86b8a..54368ac4c1 100644 --- a/cups/ppd.c +++ b/cups/ppd.c @@ -3430,12 +3430,12 @@ ppd_update_filters(ppd_file_t *ppd, /* I - PPD file */ srctype[256], dstsuper[16], /* Destination MIME media type */ dsttype[256], - program[1024] = {0}, /* Command to run */ *ptr, /* Pointer into command to run */ buffer[1024], /* Re-written cupsFilter value */ **filter; /* Current filter */ int cost; /* Cost of filter */ + char program[1024] = { 0 }; /* Command to run */ DEBUG_printf(("4ppd_update_filters(ppd=%p, cg=%p)", ppd, pg));