[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: [bug #58600] Floating point execption in create_matrix_rea
From: |
John Darrington |
Subject: |
Re: PSPP-BUG: [bug #58600] Floating point execption in create_matrix_reader_from_case_reader |
Date: |
Sun, 21 Jun 2020 07:35:17 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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
J'