Fix up potential overflows in size calculations by replacing
authorBen Pfaff <blp@gnu.org>
Sat, 29 Oct 2005 05:50:06 +0000 (05:50 +0000)
committerBen Pfaff <blp@gnu.org>
Sat, 29 Oct 2005 05:50:06 +0000 (05:50 +0000)
commita29bbbe97388bb6f9c9b4df36b448dfe5023363c
tree557a262cb2730c6c7b98f539f69f3ace86209382
parent964733fbec9e3c7b4cb298f028fdbfd9f2f1441b
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.)
src/ChangeLog
src/autorecode.c
src/frequencies.q
src/groff-font.c
src/matrix-data.c
src/pfm-read.c
src/pool.c
src/pool.h
src/tab.c