[cff] Fix limit in assert for max hints.
* src/cff/cf2interp.c (cf2_hintmask_setAll): Allow mask equal to the limit (96 bits).
This commit is contained in:
parent
3066f5f53d
commit
3cfd51233c
@ -1,3 +1,10 @@
|
||||
2015-10-21 Dave Arnold <darnold@adobe.com>
|
||||
|
||||
[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 <darnold@adobe.com>
|
||||
|
||||
[cff] Remove an assert (#46107).
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user