Bug 27465 - xfs crashes with truetype fonts
Summary: xfs crashes with truetype fonts
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: XFree86
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-14 00:41 UTC by Stefan Sorensen
Modified: 2007-04-18 16:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-14 00:45:00 UTC
Embargoed:


Attachments (Terms of Use)
Proposed patch (563 bytes, patch)
2001-02-14 00:44 UTC, Stefan Sorensen
no flags Details | Diff

Description Stefan Sorensen 2001-02-14 00:41:58 UTC
When truetype fonts are use, xfs will crash on some applications like gfontsel.

This is the xfs from XFree86-xfs-4.0.2-6, but might be present in earlier
versions too.

The offending function is
xc/lib/font/FreeType/ftfuncs.c:FreeTypeFontGetGlyph which doesn't check for
a valid encoding in the font.

Comment 1 Stefan Sorensen 2001-02-14 00:44:57 UTC
Created attachment 9966 [details]
Proposed patch

Comment 2 Mike A. Harris 2001-02-14 18:21:40 UTC
Patch applied, thanks very much for the fix!  Good job!


Note You need to log in before you can comment on or make changes to this bug.