On Sat, Jun 20, 2020 at 07:55:27PM -0400, Ben Pfaff wrote:
John: xcalloc() does require its second argument to be positive, please see
the details in the commit message above.
In that case, we seem also to have the same issue in the following
places:
return xcalloc (sizeof (unsigned long int), DIV_RND_UP (n, BITS_PER_ULONG));
./src/libpspp/bit-vector.c:28
struct fmt_guesser **fg = xcalloc (sizeof *fg, n_vars);
./src/ui/gui/psppire-import-assistant.c:1244
struct value_node **nodes = xcalloc (sizeof *nodes, n_vals);
./src/math/categoricals.c:483
Yes. I did the same grep just before I wrote that but I must have overlooked them somehow.