Fix bounds checking for text properties in `format' (Bug#5306).
authorChong Yidong <cyd@stupidchicken.com>
Sat, 9 Jan 2010 22:32:47 +0000 (17:32 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 9 Jan 2010 22:32:47 +0000 (17:32 -0500)
commite398c61cb14ef89632fa28fe97b98c71695d6ccc
tree9d0188c11c4277105eda2b82be4dcc335fd8b4fc
parent4d9bbfa616fb135ff54a63fcd965923d48ca64f1
Fix bounds checking for text properties in `format' (Bug#5306).

* intervals.h, textprop.c (extend_property_ranges): Return value
and args changed.  Discard properties that begin at or after the
new end (Bug#5306).

* editfns.c (Fformat): Caller changed.
src/ChangeLog
src/editfns.c
src/intervals.h
src/textprop.c