]> git.pld-linux.org Git - packages/libwmf.git/blob - libwmf-0.2.8.4-CVE-2007-3473.patch
- rebuild without libjpeg.la
[packages/libwmf.git] / libwmf-0.2.8.4-CVE-2007-3473.patch
1 --- libwmf-0.2.8.4/src/extra/gd/gd.c
2 +++ libwmf-0.2.8.4/src/extra/gd/gd.c
3 @@ -2483,6 +2483,10 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromXbm (FILE * fd)
4      }
5    bytes = (w * h / 8) + 1;
6    im = gdImageCreate (w, h);
7 +  if (!im) {
8 +    return 0;
9 +  }
10 +
11    gdImageColorAllocate (im, 255, 255, 255);
12    gdImageColorAllocate (im, 0, 0, 0);
13    x = 0;
This page took 0.102621 seconds and 3 git commands to generate.