* src/truetype/ttinterp.c (TT_RunIns): Use `FT_OFFSET'.
Reported as https://bugs.chromium.org/p/chromium/issues/detail?id=1030614
This commit is contained in:
parent
551bd3a90e
commit
dfc9a049de
@ -1,3 +1,11 @@
|
||||
2019-12-05 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/truetype/ttinterp.c (TT_RunIns): Use `FT_OFFSET'.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/chromium/issues/detail?id=1030614
|
||||
|
||||
2019-12-03 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
More nullptr offset UBSan warnings (#57331, #57347).
|
||||
|
@ -8567,7 +8567,7 @@
|
||||
case FT_ERR( Invalid_Opcode ):
|
||||
{
|
||||
TT_DefRecord* def = exc->IDefs;
|
||||
TT_DefRecord* limit = def + exc->numIDefs;
|
||||
TT_DefRecord* limit = FT_OFFSET( def, exc->numIDefs );
|
||||
|
||||
|
||||
for ( ; def < limit; def++ )
|
||||
|
Loading…
Reference in New Issue
Block a user