From b0a4f99278aa7e14bd1d0d9e40ad28dce543fde6 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Sun, 2 Apr 2023 22:45:48 -0400 Subject: * src/sfnt/ttpost.c (load_format_25): Do not abort frame reading. --- src/sfnt/ttpost.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c index ac9de6e24..1dfad4298 100644 --- a/src/sfnt/ttpost.c +++ b/src/sfnt/ttpost.c @@ -299,10 +299,7 @@ if ( idx < 0 || idx > 257 ) - { - error = FT_THROW( Invalid_File_Format ); - goto Fail; - } + idx = 0; glyph_indices[n] = (FT_UShort)idx; } -- cgit v1.2.1