Subject: bug#9079: integer overflow etc. issues (e.g., image crashes Emacs)

From: Andreas Schwab <[email-masked]>
Date: Thu, 14 Jul 2011 10:22:49 +0200

Paul Eggert <[email-masked]> writes:

> --- src/alloc.c	2011-07-13 01:04:29 +0000
> +++ src/alloc.c	2011-07-13 03:45:56 +0000
> @@ -70,7 +70,7 @@
>  #include <malloc.h>
>  /* malloc.h #defines this as size_t, at least in glibc2.  */
>  #ifndef __malloc_size_t
> -#define __malloc_size_t int
> +#define __malloc_size_t size_t

There is no point in using that name any more.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."