limit the number of variables in barchart from crosstabs #58968
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 17 Aug 2020 17:43:37 +0000 (19:43 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 17 Aug 2020 17:43:37 +0000 (19:43 +0200)
commit738cf48684a7dfd5551b113b8245ec8c5ba11c35
tree4ba7bc1967c86b997e5651dd02fb08e95684cb0d
parentb296fba9a10d7a3e8ff1bbcac26b449e8bc31983
limit the number of variables in barchart from crosstabs #58968

The barchart was created with more than two variables from
the crosstabs subcommand. I added an assertion and limit
the number of variables to two. This bug resulted in a
regression failure (crash) for test

493: CROSSTABS barchart

on i386 architecture.

see: https://savannah.gnu.org/bugs/?58968
src/language/stats/crosstabs.q
src/output/charts/barchart.c