[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master b0a4f9927: * src/sfnt/ttpost.c (load_format_25): Do n
From: |
Werner Lemberg |
Subject: |
[freetype2] master b0a4f9927: * src/sfnt/ttpost.c (load_format_25): Do not abort frame reading. |
Date: |
Sun, 2 Apr 2023 22:49:04 -0400 (EDT) |
branch: master
commit b0a4f99278aa7e14bd1d0d9e40ad28dce543fde6
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master b0a4f9927: * src/sfnt/ttpost.c (load_format_25): Do not abort frame reading.,
Werner Lemberg <=