[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: [bug #58600] Floating point execption in create_matrix_rea
Re: PSPP-BUG: [bug #58600] Floating point execption in create_matrix_reader_from_case_reader
Sun, 21 Jun 2020 13:37:32 +0200
On Sat, Jun 20, 2020 at 10:55:33PM -0700, Ben Pfaff wrote:
On Sat, Jun 20, 2020 at 10:35 PM John Darrington <
> return xcalloc (sizeof (unsigned long int), DIV_RND_UP (n,
> struct fmt_guesser **fg = xcalloc (sizeof *fg, n_vars);
> struct value_node **nodes = xcalloc (sizeof *nodes, n_vals);
Yes. I did the same grep just before I wrote that but I must have
overlooked them somehow.
I pushed a fix for these.
I wonder if we ought to use the XCALLOC macro from gnulib which would
stop this kind of error from occuring?