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

Chong Yidong cyd at stupidchicken.com
Tue Aug 17 14:46:57 PDT 2010


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

> Chong Yidong <cyd at 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.


More information about the notmuch mailing list