forked from pool/netpbm
f06553deec
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
12 lines
307 B
Diff
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 */
|