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 4-9 Link Here
4
    this patch comes from the Debian package for libfreetype6 !!
4
    this patch comes from the Debian package for libfreetype6 !!
5
    How come nobody mentions this on the devel list ??
5
    How come nobody mentions this on the devel list ??
6
6
7
    * src/bdf/bdflib.c: fixed a problem with large encodings.
8
    Again, this patch comes from Debian libfreetype6 for 2.1.10 !
9
7
2006-02-23  Chia-I Wu  <b90201047@ntu.edu.tw>
10
2006-02-23  Chia-I Wu  <b90201047@ntu.edu.tw>
8
11
9
	* include/freetype/ftoutln.h (enum FT_Orientation): New value
12
	* include/freetype/ftoutln.h (enum FT_Orientation): New value
(-)a/src/bdf/bdflib.c (+8 lines)
Lines 1561-1566 Link Here
1561
1561
1562
      p->glyph_enc = _bdf_atol( p->list.field[1], 0, 10 );
1562
      p->glyph_enc = _bdf_atol( p->list.field[1], 0, 10 );
1563
1563
1564
      /* Check that the encoding is in the range [0,65536] because        */
1565
      /* otherwise p->have (a bitmap with static size) overflows.         */
1566
      if ( p->glyph_enc >= sizeof(p->have)*8 )
1567
      {
1568
        error = BDF_Err_Invalid_File_Format;
1569
        goto Exit;
1570
      }
1571
1564
      /* Check to see whether this encoding has already been encountered. */
1572
      /* Check to see whether this encoding has already been encountered. */
1565
      /* If it has then change it to unencoded so it gets added if        */
1573
      /* If it has then change it to unencoded so it gets added if        */
1566
      /* indicated.                                                       */
1574
      /* indicated.                                                       */

Return to bug 124828