netpbm/netpbm-10.35.74-pamscale.patch
Petr Gajdos d494c159f8 - updated to 10.35.74 (see doc/HISTORY)
* upstreamed or outdated
    - colornames-init.diff (present in the code)
    - endian.patch (tested against bnc#105431)
    - pamtouil.patch (present in the code)
    - ximtoppm-fixes.patch (present in the code)
    - [partially, refreshed] fixes.patch
    - pngtomng-transparent.patch (tested against bnc#225258)
    - rgb.patch (/usr/share/X11/rgb.txt is in RGB_DB2 yet)
  * .dif renamed to make.patch
  * gcc45.patch merged into fixes.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=16
2010-04-01 17:05:41 +00:00

12 lines
307 B
Diff

--- editor/pamscale.c
+++ editor/pamscale.c
@@ -595,6 +595,8 @@
const char *filterOpt, *window;
unsigned int filterSpec, windowSpec;
+ memset(cmdlineP, 0, sizeof(struct cmdlineInfo));
+
MALLOCARRAY_NOFAIL(option_def, 100);
option_def_index = 0; /* incremented by OPTENT3 */