* src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start value for `hi' to avoid infinite loop.
diff --git a/ChangeLog b/ChangeLog
index 465c850..7b9de15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-19 David Turner <david@freetype.org>
+
+ * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start
+ value for `hi' to avoid infinite loop.
+
2003-05-18 Yong Sun <sunyong@njstar.com>
* src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test.
diff --git a/src/sfnt/ttcmap0.c b/src/sfnt/ttcmap0.c
index b458302..90729aa 100644
--- a/src/sfnt/ttcmap0.c
+++ b/src/sfnt/ttcmap0.c
@@ -909,7 +909,7 @@
/* we begin by finding the segment which end is
closer to our code point */
- hi = 0;
+ hi = max + 1;
while ( min < max )
{
mid = ( min + max ) >> 1;