Re: bug#6214: 23.1; json-read-string crashes emacs with long string

Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string

Date: Tue, 17 Aug 2010 17:46:57 -0400

To: Andreas Schwab

Cc: 6214@debbugs.gnu.org, Notmuch mailing list, Stefan Monnier

From: Chong Yidong


Andreas Schwab <schwab@linux-m68k.org> writes:

> Chong Yidong <cyd@stupidchicken.com> writes:
>
>> Never mind, I got confused.  SAFE_ALLOCA uses record_unwind_protect, so
>> it's gc safe.
>
> No, it isn't.  SAFE_ALLOCA only protects the memory block, you need to
> use SAVE_ALLOCA_LISP to protect also its contents.

Ah, OK.  Thanks.

Thread: