CROSSTABS: Fix corner case in integer mode.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 2 Apr 2016 18:09:15 +0000 (11:09 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 2 Apr 2016 18:10:49 +0000 (11:10 -0700)
commit6a490863ee96cee59050ca70d3c22491e54a3ab8
treea84ada47062f993a15408b4f0a231ba7e9f80eeb
parenta636e43be9443c8f01641967b8a7d7caec491709
CROSSTABS: Fix corner case in integer mode.

I'm not really sure what I was thinking when I wrote this code, but the
off-by-one errors could cause a crash.

Thanks to John Darrington for reporting the problem.

Bug #47600.
src/language/stats/crosstabs.q
tests/language/stats/crosstabs.at