mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 16:58:02 +02:00
* src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start
value for `hi' to avoid infinite loop.
This commit is contained in:
parent
9e47f21909
commit
0e6bdd9606
2 changed files with 6 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue