netpbm/netpbm-pamscale.patch

12 lines
353 B
Diff
Raw Normal View History

--- netpbm-10.34/editor/pamscale.c.pamscale 2006-03-16 01:33:49.000000000 +0100
+++ netpbm-10.34/editor/pamscale.c 2006-08-12 20:12:14.000000000 +0200
@@ -2081,6 +2081,8 @@
struct pam inpam, outpam;
float xscale, yscale;
+ memset(&cmdline, 0, sizeof(cmdline));
+
pnm_init(&argc, argv);
parseCommandLine(argc, argv, &cmdline);