SHA256
1
0
forked from pool/netpbm
netpbm/netpbm-10.35.69-pamscale.patch
OBS User autobuild f06553deec Accepting request 25498 from graphics
Copy from graphics/netpbm based on submit request 25498 from user pgajdos

OBS-URL: https://build.opensuse.org/request/show/25498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=19
2009-12-04 10:32:11 +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 */