changeset 4614:2c5557903994

(property_change_between_p): Test NULL_INTERVAL_P in loop, before looking at next->position.
author Richard M. Stallman <rms@gnu.org>
date Sat, 14 Aug 1993 04:36:08 +0000
parents eb2af4aa80e4
children feec1422d547
files src/textprop.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/textprop.c	Sat Aug 14 03:50:26 1993 +0000
+++ b/src/textprop.c	Sat Aug 14 04:36:08 1993 +0000
@@ -568,6 +568,8 @@
   while (! NULL_INTERVAL_P (next) && intervals_equal (i, next))
     {
       next = next_interval (next);
+      if (NULL_INTERVAL_P (next))
+	return 0;
       if (next->position >= end)
 	return 0;
     }