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: Sat, 29 Oct 2005 01:50:06 -0400

Index: pspp/src/ChangeLog
diff -u pspp/src/ChangeLog:1.243 pspp/src/ChangeLog:1.244
--- pspp/src/ChangeLog:1.243    Thu Oct 27 03:19:07 2005
+++ pspp/src/ChangeLog  Sat Oct 29 05:50:06 2005
@@ -1,3 +1,16 @@
+Fri Oct 28 22:47:48 2005  Ben Pfaff  <address@hidden>
+
+       Fix up potential overflows in size calculations by replacing
+       instances of pool_alloc(p, x * sizeof *y) by pool_malloc(p, x,
+       sizeof *y) everywhere I could find them.  Similarly by
+       pool_malloc(), pool_realloc().
+       (Order is important: pool_alloc(p, sizeof *y, x) will divide by 0
+       if x is 0.)
+
+       * pool.c: (pool_nalloc) New function.
+       (pool_nmalloc) New function.
+       (pool_nrealloc) New function.
+
 Thu Oct 27 11:16:53 WST 2005 John Darrington <address@hidden>
 
        Separated the definition of a file handle object from the stuff 




reply via email to

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