Le mardi, 25 septembre 2018, 16.07:05 h CEST Robert Krawitz a écrit :
> Thanks.  I don't have gcc8 so I didn't get this.  Does this fix work?
> 
> diff --git a/src/cups/gutenprint.c b/src/cups/gutenprint.c
> index 6ab2194e..56b55994 100644
> --- a/src/cups/gutenprint.c
> +++ b/src/cups/gutenprint.c
> @@ -122,7 +122,7 @@ cat_ppd(const char *uri)    /* I - Driver URI */
>    const char           *lang = NULL;
>    char                 *s;
>    char                 filename[1024],         /* Filename */
> -                       ppd_location[1024];     /* Installed location */
> +                       ppd_location[2048];     /* Installed location */
>    const char           *infix = "";
>    ppd_type_t           ppd_type = PPD_STANDARD;
>    gpfile               outFD;

Nope. Another error spawns later:

backend_common.c: In function ‘dump_markers’:
backend_common.c:1357:3: error: format not a string literal and no format 
arguments [-Werror=format-security]
   DEBUG2(markers[i].color);
   ^~~~~~

Patching this line out lets 5.3.1 compile though :-)

Cheers,
    OdyX

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to