diff options
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/sfnt/ttcmap.c')
-rw-r--r-- | Build/source/libs/freetype2/freetype-src/src/sfnt/ttcmap.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/sfnt/ttcmap.c b/Build/source/libs/freetype2/freetype-src/src/sfnt/ttcmap.c index b369d837884..556a712199f 100644 --- a/Build/source/libs/freetype2/freetype-src/src/sfnt/ttcmap.c +++ b/Build/source/libs/freetype2/freetype-src/src/sfnt/ttcmap.c @@ -4,7 +4,7 @@ * * TrueType character mapping table (cmap) support (body). * - * Copyright (C) 2002-2021 by + * Copyright (C) 2002-2020 by * David Turner, Robert Wilhelm, and Werner Lemberg. * * This file is part of the FreeType project, and may only be used, @@ -916,16 +916,6 @@ length = (FT_UInt)( valid->limit - table ); } - /* it also happens that the `length' field is too small; */ - /* this is easy to correct */ - if ( length < (FT_UInt)( valid->limit - table ) ) - { - if ( valid->level >= FT_VALIDATE_PARANOID ) - FT_INVALID_DATA; - - length = (FT_UInt)( valid->limit - table ); - } - if ( length < 16 ) FT_INVALID_TOO_SHORT; |