Ben Wagner pushed to branch master at FreeType / FreeType
Commits:
-
85167dbd
by Ben Wagner at 2023-07-14T14:52:20+00:00
1 changed file:
Changes:
... | ... | @@ -2257,13 +2257,6 @@ |
2257 | 2257 | goto Exit;
|
2258 | 2258 | }
|
2259 | 2259 | |
2260 | - if ( woff2.uncompressed_size > sfnt_size )
|
|
2261 | - {
|
|
2262 | - FT_ERROR(( "woff2_open_font: SFNT table lengths are too large.\n" ));
|
|
2263 | - error = FT_THROW( Invalid_Table );
|
|
2264 | - goto Exit;
|
|
2265 | - }
|
|
2266 | - |
|
2267 | 2260 | /* Allocate memory for uncompressed table data. */
|
2268 | 2261 | if ( FT_QALLOC( uncompressed_buf, woff2.uncompressed_size ) ||
|
2269 | 2262 | FT_FRAME_ENTER( woff2.totalCompressedSize ) )
|