changeset 8068:40e02f4c8ae1

(a_write): Verify that *annot is a cons.
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Jun 1994 20:44:08 +0000
parents 1aaf0461446d
children dfef58fcda75
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sun Jun 26 18:14:13 1994 +0000
+++ b/src/fileio.c	Mon Jun 27 20:44:08 1994 +0000
@@ -3296,7 +3296,7 @@
   int nextpos;
   int lastpos = pos + len;
 
-  while (1)
+  while (CONSP (*annot))
     {
       tem = Fcar_safe (Fcar (*annot));
       if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos)