summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2012-03-15 11:51:23 +0000
committerChris Liddell <chris.liddell@artifex.com>2012-03-15 11:54:25 +0000
commit34e9f771bd0a334fb70114d74bdf519782d092c8 (patch)
tree9edba0c66a32ff77b0f2eb27622caf1dfd410e77
parentb720e5be58b32df74578fcea8f8ec6e5c16f1327 (diff)
Another Freetype fix.libs-update
-rw-r--r--gs/freetype/src/type1/t1load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/freetype/src/type1/t1load.c b/gs/freetype/src/type1/t1load.c
index 4385417a4..59af25407 100644
--- a/gs/freetype/src/type1/t1load.c
+++ b/gs/freetype/src/type1/t1load.c
@@ -1400,7 +1400,7 @@
/* If the next token isn't `dup' we are done. */
- if ( parser->root.cursor + 4 < parser->root.limit &&
+ if ( parser->root.cursor + 4 >= parser->root.limit ||
ft_strncmp( (char*)parser->root.cursor, "dup", 3 ) != 0 )
break;