* lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 09:08:11 +0000 (02:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 09:08:11 +0000 (02:08 -0700)
commita2d26660368fbe4cc7d103aad6f565e36a280fac
tree26311d3ed436cbc03d1a3acede09dde609c21512
parent916c72e97a711e6d0f571a507634e4f795fbaf6c
* lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow

leading to a memory leak, possible in functions like
load_charset_map_from_file that can allocate an unbounded number
of objects.
src/ChangeLog
src/lisp.h