Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 124828 | Differences between
and this patch

Collapse All | Expand All

(-)a/ChangeLog (+3 lines)
Lines 9-14 Link Here
9
	Check range of `glyph_index'.
9
	Check range of `glyph_index'.
10
	* src/cff/cffgload.h: Updated.
10
	* src/cff/cffgload.h: Updated.
11
11
12
	* src/sfnt/ttcmap.c (tt_face_build_cmaps): Handle invalid offset
13
	correctly.
14
12
2006-03-21  David Turner  <david@freetype.org>
15
2006-03-21  David Turner  <david@freetype.org>
13
16
14
	* src/autofit/aflatin.c (af_latin_metrics_scale): Fix small bug
17
	* src/autofit/aflatin.c (af_latin_metrics_scale): Fix small bug
(-)a/src/sfnt/ttcmap.c (-1 / +1 lines)
Lines 2271-2277 Link Here
2271
      charmap.encoding    = FT_ENCODING_NONE;  /* will be filled later */
2271
      charmap.encoding    = FT_ENCODING_NONE;  /* will be filled later */
2272
      offset              = TT_NEXT_ULONG( p );
2272
      offset              = TT_NEXT_ULONG( p );
2273
2273
2274
      if ( offset && table + offset + 2 <= limit )
2274
      if ( offset && offset <= face->cmap_size - 2 )
2275
      {
2275
      {
2276
        FT_Byte*                       cmap   = table + offset;
2276
        FT_Byte*                       cmap   = table + offset;
2277
        volatile FT_UInt               format = TT_PEEK_USHORT( cmap );
2277
        volatile FT_UInt               format = TT_PEEK_USHORT( cmap );

Return to bug 124828