mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-01-06 10:10:10 +01:00
* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Remove check.
The highest (sign) attribute bit is reserved and should be zero. It is harmless to omit this check however. Fixes #1342.
This commit is contained in:
parent
fc051dc0be
commit
04f68052f0
1 changed files with 1 additions and 7 deletions
|
|
@ -269,14 +269,8 @@
|
|||
* According to Inside Macintosh: More Macintosh Toolbox,
|
||||
* "Resource IDs" (1-46), there are some reserved IDs.
|
||||
* However, FreeType2 is not a font synthesizer, no need
|
||||
* to check the acceptable resource ID.
|
||||
* to check the acceptable resource ID or its attributes.
|
||||
*/
|
||||
if ( temp < 0 )
|
||||
{
|
||||
error = FT_THROW( Invalid_Table );
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
ref[j].offset = temp & 0xFFFFFFL;
|
||||
|
||||
FT_TRACE3(( " [%d]:"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue