bug-gnu-pspp
[Top][All Lists]
Advanced

[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: Ben Pfaff
Subject: Re: PSPP-BUG: [bug #58600] Floating point execption in create_matrix_reader_from_case_reader
Date: Sat, 20 Jun 2020 22:55:33 -0700

On Sat, Jun 20, 2020 at 10:35 PM John Darrington <john@darrington.wattle.id.au> wrote:
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. 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]