ref: deb5510a547e94ce6d46766f447c22e696941c40
parent: eb17a92a78645ca232eb2a85aded9b358a589fdc
author: Werner Lemberg <[email protected]>
date: Fri Jun 20 03:50:13 EDT 2003
* src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt, otherwise adding 1 might wrap the result.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-19 Dirck Blaskey <[email protected]>
+
+ * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt,
+ otherwise adding 1 might wrap the result.
+
2003-06-18 Werner Lemberg <[email protected]>
* src/psnames/psmodule.c (ps_unicode_value): Add support to
--- a/src/cff/cffload.c
+++ b/src/cff/cffload.c
@@ -1778,7 +1778,7 @@
case 1:
{
- FT_Byte nleft;
+ FT_UInt nleft;
FT_UInt i = 1;
FT_UInt k;