pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/ChangeLog


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/ChangeLog
Date: Wed, 26 Oct 2005 01:06:15 -0400

Index: pspp/src/ChangeLog
diff -u pspp/src/ChangeLog:1.241 pspp/src/ChangeLog:1.242
--- pspp/src/ChangeLog:1.241    Wed Oct 26 00:50:44 2005
+++ pspp/src/ChangeLog  Wed Oct 26 05:06:14 2005
@@ -1,3 +1,21 @@
+Tue Oct 25 21:56:23 2005  Ben Pfaff  <address@hidden>
+
+       Fix up potential overflows in size calculations by replacing
+       instances of xmalloc(x * sizeof *y) by xnmalloc(x, sizeof *y)
+       everywhere I could find them.  Similarly by xrealloc(), malloc().
+       (Order is important: xnmalloc(sizeof *y, x) will divide by 0 if x
+       is 0.)
+
+       * alloc.c: (nmalloc) New function.
+       (out_of_memory) Removed.  Replaced references by xalloc_die().
+
+       * sort.c: (allocate_cases) Fix segfault if memory allocation
+       fails.
+
+       * subclist.c: (subc_list_double_create) Use xnmalloc() instead of
+       malloc().
+       (subc_list_double_push) Use xnrealloc() instead of realloc().
+
 Wed Oct 26 08:43:51 WST 2005 John Darrington <address@hidden>
 
        Dictionary abstraction part #2




reply via email to

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