bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: reproducible segfault


From: John Paul Wallington
Subject: Re: reproducible segfault
Date: Sun, 27 Oct 2002 11:56:47 +0000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

D. Goel <address@hidden> wrote:

> emacs -q -no-site-file 
>
> (read-event (append "a" "b"))
>  C-x C-e 

This happens in RC branch, but not in HEAD.

In HEAD, message_with_string in xdisp.c uses CHECK_STRING macro on
`string' argument.  Maybe it should do so in RC too?  Could you test
this change?

--- /build-emacs/RC/emacs/src/xdisp.c.~1.671.4.30.~     Fri Aug 30 21:45:31 2002
+++ /build-emacs/RC/emacs/src/xdisp.c   Sun Oct 27 11:19:35 2002
@@ -6032,6 +6032,8 @@
      Lisp_Object string;
      int log;
 {
+  CHECK_STRING (string, 0);
+  
   if (noninteractive)
     {
       if (m)

-- 
John Paul Wallington




reply via email to

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