Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 214068 | Differences between
and this patch

Collapse All | Expand All

(-)cups-1.3.6/filter/image-gif.c (+5 lines)
Lines 38-43 Link Here
38
#define GIF_INTERLACE	0x40
38
#define GIF_INTERLACE	0x40
39
#define GIF_COLORMAP	0x80
39
#define GIF_COLORMAP	0x80
40
40
41
#define MAX_LWZ_BITS	12
42
41
typedef cups_ib_t	gif_cmap_t[256][4];
43
typedef cups_ib_t	gif_cmap_t[256][4];
42
typedef short		gif_table_t[4096];
44
typedef short		gif_table_t[4096];
43
45
Lines 462-467 gif_read_image(FILE *fp, /* I - Link Here
462
  pass      = 0;
464
  pass      = 0;
463
  code_size = getc(fp);
465
  code_size = getc(fp);
464
466
467
  if (code_size > MAX_LWZ_BITS)
468
    return (-1);
469
465
  if (!pixels)
470
  if (!pixels)
466
    return (-1);
471
    return (-1);
467
472

Return to bug 214068