From db986ba1fd30a32622b1bd9a78e5e83c99d56124 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 24 Jan 2003 19:12:57 +0000 Subject: [PATCH] (Fminibuffer_message): Verify type of parameter. --- src/ChangeLog | 4 ++++ src/minibuf.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 55a18b7ade8..af8642849f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-01-24 Andreas Schwab + + * minibuf.c (Fminibuffer_message): Verify type of parameter. + 2003-01-21 Richard Dawe (tiny change) * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. diff --git a/src/minibuf.c b/src/minibuf.c index 51ea67a10e8..d325407711f 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1,6 +1,6 @@ /* Minibuffer input and completion. Copyright (C) 1985, 1986, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001 Free Software Foundation, Inc. + 2000, 2001, 2003 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -2290,6 +2290,7 @@ or until the next input event arrives, whichever comes first.") (string) Lisp_Object string; { + CHECK_STRING (string, 0); temp_echo_area_glyphs (XSTRING (string)->data); return Qnil; } -- 2.39.5