diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-04-02 22:45:48 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2023-04-02 22:45:48 -0400 |
commit | b0a4f99278aa7e14bd1d0d9e40ad28dce543fde6 (patch) | |
tree | 566ce8d946fef7428a37cf19496452f0ca0ea628 /src/sfnt/ttpost.c | |
parent | 340767bf85b054595c42dd1c089318cb19d45899 (diff) | |
download | freetype2-b0a4f99278aa7e14bd1d0d9e40ad28dce543fde6.tar.gz |
* src/sfnt/ttpost.c (load_format_25): Do not abort frame reading.
Diffstat (limited to 'src/sfnt/ttpost.c')
-rw-r--r-- | src/sfnt/ttpost.c | 5 |
1 files changed, 1 insertions, 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; } |