emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: allocate_string_data memory corruption


From: Andreas Schwab
Subject: Re: allocate_string_data memory corruption
Date: Sun, 22 Jan 2006 21:06:52 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> @@ -7495,16 +7500,23 @@
>       Display *dpy;
>  {
>    int count = SPECPDL_INDEX ();
> +  struct x_error_message_stack *data = malloc (sizeof (*data));
> +  Lisp_Object dummy;
> +#ifdef ENABLE_CHECKING
> +  dummy = make_number ((EMACS_INT)dpy + (EMACS_INT)x_error_message);
> +#else
> +  dummy = Qnil

Missing semicolon.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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