projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reading of system files is now more robust against badly formed / specially
[pspp-builds.git]
/
src
/
crosstabs.q
diff --git
a/src/crosstabs.q
b/src/crosstabs.q
index 95f3dc3346862a783ccc8588916fefcec5eb17e0..62ba0a3a4c42c304b1d779897fbbfe1267c327b7 100644
(file)
--- a/
src/crosstabs.q
+++ b/
src/crosstabs.q
@@
-338,7
+338,7
@@
crs_custom_tables (struct cmd_crosstabs *cmd UNUSED)
}
{
- int *by_iter = xcalloc (
sizeof *by_iter * n_by
);
+ int *by_iter = xcalloc (
n_by, sizeof *by_iter
);
int i;
xtab = xrealloc (xtab, sizeof *xtab * (nxtab + nx));