ref: 3cfd51233c8b88f53097ebcef6bbb05e360d12b7
parent: 3066f5f53da6327ef9194eecbcc03370649704d2
author: Dave Arnold <[email protected]>
date: Wed Oct 21 10:07:25 EDT 2015
[cff] Fix limit in assert for max hints. * src/cff/cf2interp.c (cf2_hintmask_setAll): Allow mask equal to the limit (96 bits).
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2015-10-21 Dave Arnold <[email protected]>
+ [cff] Fix limit in assert for max hints.
+
+ * src/cff/cf2interp.c (cf2_hintmask_setAll): Allow mask equal to the
+ limit (96 bits).
+
+2015-10-21 Dave Arnold <[email protected]>
+
[cff] Remove an assert (#46107).
* src/cff/cf2hints.c (cf2_hintmap_insertHint): Ignore paired edges
--- a/src/cff/cf2intrp.c
+++ b/src/cff/cf2intrp.c
@@ -184,7 +184,7 @@
return;
FT_ASSERT( hintmask->byteCount > 0 );
- FT_ASSERT( hintmask->byteCount <
+ FT_ASSERT( hintmask->byteCount <=
sizeof ( hintmask->mask ) / sizeof ( hintmask->mask[0] ) );
/* set mask to all ones */