Blame netpbm-10.35-ximtoppmsegfault.patch
|
|
365f5d9 |
diff -up netpbm-10.35.58/converter/ppm/ximtoppm.c.ximtoppmsegfault netpbm-10.35.58/converter/ppm/ximtoppm.c
|
|
|
365f5d9 |
--- netpbm-10.35.58/converter/ppm/ximtoppm.c.ximtoppmsegfault 2009-01-28 18:37:05.000000000 +0100
|
|
|
365f5d9 |
+++ netpbm-10.35.58/converter/ppm/ximtoppm.c 2009-01-28 19:01:14.000000000 +0100
|
|
|
365f5d9 |
@@ -50,6 +50,10 @@ parseCommandLine(int argc, char ** argv,
|
|
|
365f5d9 |
OPTENT3(0, "alphaout", OPT_STRING,
|
|
|
365f5d9 |
&cmdlineP->alpha_filename, &alphaoutSpec, 0);
|
|
|
365f5d9 |
|
|
|
365f5d9 |
+ opt.opt_table = option_def;
|
|
|
365f5d9 |
+ opt.short_allowed = FALSE;
|
|
|
365f5d9 |
+ opt.allowNegNum = FALSE;
|
|
|
365f5d9 |
+
|
|
|
365f5d9 |
optParseOptions3(&argc, argv, opt, sizeof(opt), 0);
|
|
|
365f5d9 |
/* Uses and sets argc, argv, and all of *cmdlineP. */
|
|
|
365f5d9 |
|