1 |
|
Fri Oct 28 22:47:48 2005 Ben Pfaff <blp@gnu.org> |
2 |
|
|
3 |
|
Fix up potential overflows in size calculations by replacing |
4 |
|
instances of pool_alloc(p, x * sizeof *y) by pool_malloc(p, x, |
5 |
|
sizeof *y) everywhere I could find them. Similarly by |
6 |
|
pool_malloc(), pool_realloc(). |
7 |
|
(Order is important: pool_alloc(p, sizeof *y, x) will divide by 0 |
8 |
|
if x is 0.) |
9 |
|
|
10 |
|
* pool.c: (pool_nalloc) New function. |
11 |
|
(pool_nmalloc) New function. |
12 |
|
(pool_nrealloc) New function. |
13 |
|
|
14 |
Thu Oct 27 11:16:53 WST 2005 John Darrington <john@darrington.wattle.id.au> |
Thu Oct 27 11:16:53 WST 2005 John Darrington <john@darrington.wattle.id.au> |
15 |
|
|
16 |
Separated the definition of a file handle object from the stuff |
Separated the definition of a file handle object from the stuff |