We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f415596 commit 265db7dCopy full SHA for 265db7d
vendor/freetype/src/gxvalid/gxvmort2.c
@@ -192,8 +192,8 @@
192
offset, optdata->ligatureTable - offset * 2 ));
193
194
GXV_SET_ERR_IF_PARANOID( FT_INVALID_OFFSET );
195
- } else if ( offset * 2 >
196
- optdata->ligatureTable + optdata->ligatureTable_length )
+ } else if ( offset * 2u >
+ (FT_ULong)( optdata->ligatureTable + optdata->ligatureTable_length ) )
197
{
198
GXV_TRACE(( "too long offset 0x%08lx:"
199
" 2 x offset > ligatureTable + ligatureTable_length"
0 commit comments