diff options
author | David Turner <david@freetype.org> | 2006-02-27 13:14:42 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2006-02-27 13:14:42 +0000 |
commit | c13e75fb1b7f778b58bc2bc185e10a03f3cff001 (patch) | |
tree | 8952eafc9a90701c6f5ab1822b5d11d67a8ebc4f /src/pshinter | |
parent | cffa8b65be09886d56ab61f35187983f11a40ca0 (diff) |
* src/base/ftutil.c: ft_mem_alloc and related functions now return an
error if a negative size is passed in parameters.
* src/cache/ftccache.c: make ftc_node_destroy FT_BASE_DEF, it needs to
be exported for rogue clients
* src/pshinter/pshglob.c: prevent problems with malformed fonts which
have an odd number of blue values (these are broken according to the
specs).
* src/cff/cffload.c, src/type1/t1load.c: modify the loaders to force
even-ness of 'num_blue_values'. Also change the CFF loader so that
invalid entries in index files are ignored.
Diffstat (limited to 'src/pshinter')
-rw-r--r-- | src/pshinter/pshglob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pshinter/pshglob.c b/src/pshinter/pshglob.c index 21d45e92..c02dc0b0 100644 --- a/src/pshinter/pshglob.c +++ b/src/pshinter/pshglob.c @@ -150,7 +150,7 @@ FT_UNUSED( target ); - for ( ; read_count > 0; read_count -= 2 ) + for ( ; read_count > 1; read_count -= 2 ) { FT_Int reference, delta; FT_UInt count; |