File f2c-malloccheck.diff of Package f2c

--- src/proc.c
+++ src/proc.c
@@ -1693,7 +1693,7 @@
 	}
 
 	v->vdim = p = (struct Dimblock *)
-	    ckalloc( sizeof(int) + (3+2*nd)*sizeof(expptr) );
+	    ckalloc( sizeof(struct Dimblock) + (nd-1)*sizeof(p->dims) );
 	p->ndim = nd--;
 	p->nelt = ICON(1);
 	doin_setbound = 1;
--- src/xsum0.out
+++ src/xsum0.out
@@ -44,7 +44,7 @@
 parse_args.c	176faaca	14118
 pccdefs.h	1b4fbbee	1195
 pread.c	6408ee8	17816
-proc.c	1d272b9a	38923
+proc.c	1d22071f	38934
 put.c	1a037ae5	10027
 putpcc.c	557e3b5	45941
 sysdep.c	ff3d441f	14344