emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 8ba156f: Attempt to avoid crashes in plist-memb


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] master 8ba156f: Attempt to avoid crashes in plist-member
Date: Tue, 13 Oct 2015 05:42:47 +0300

> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Mon, 12 Oct 2015 21:07:00 -0400
> 
> >     Attempt to avoid crashes in plist-member
>     
> >     * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
> >     and a call to XCDR.  (Bug#21655)
> 
> I have no objection to the patch itself, but I must say that I wonder
> how it can avoid crashes.  IOW why would calling QUIT between a CONSP test
> and a call to XCDR be dangerous?

QUIT could call some Lisp.

How else would you explain a segfault in that loop?



reply via email to

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