fix oss-fuzz issue 14345
This commit is contained in:
parent
63a2108480
commit
ba0386060d
|
@ -110,7 +110,8 @@ struct Encoding1 {
|
|||
{
|
||||
if (glyph <= ranges[i].nLeft)
|
||||
{
|
||||
return (hb_codepoint_t)ranges[i].first + glyph;
|
||||
hb_codepoint_t code = (hb_codepoint_t)ranges[i].first + glyph;
|
||||
return (likely (code < 0x100)? code: CFF_UNDEF_CODE);
|
||||
}
|
||||
glyph -= (ranges[i].nLeft + 1);
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue