From f4a3a8c96b85a3dae9fd6bf18523fee6b6675272 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Jun 1994 20:44:08 +0000 Subject: [PATCH] (a_write): Verify that *annot is a cons. --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileio.c b/src/fileio.c index 08632ab1ff8..0a04f713d7b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3296,7 +3296,7 @@ a_write (desc, addr, len, pos, annot) 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) -- 2.39.5