From: John Darrington Date: Tue, 16 Dec 2003 06:45:03 +0000 (+0000) Subject: Fixed bug in crosstabs.q which caused a system crash X-Git-Tag: v0.4.0~444 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=3439031e3f07c8241bab29a137af33c7bfade37d;p=pspp-builds.git Fixed bug in crosstabs.q which caused a system crash --- diff --git a/src/crosstabs.q b/src/crosstabs.q index 7852ed84..8ada7e4f 100644 --- a/src/crosstabs.q +++ b/src/crosstabs.q @@ -1783,6 +1783,7 @@ enum_var_values (struct table_entry **beg, int cnt, union value **values, int *n union value *v; int i; + avl_traverser_init(trav); i = 0; while (NULL != (v = avl_traverse (tree, &trav))) (*values)[i++] = *v; diff --git a/tests/Makefile.am b/tests/Makefile.am index 678f111d..b7c58ec0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -15,7 +15,8 @@ TESTS = command/aggregate.sh \ command/sort.sh \ command/split-file.sh \ bugs/double-frequency.sh \ - bugs/html-frequency.sh + bugs/html-frequency.sh \ + bugs/crosstabs.sh noinst_PROGRAMS = gengarbage