Bugzilla – Attachment 45896 Details for
Bug 97202
New freetype2 library crashes Xserver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
X.Org patch which restores the old behavior if function pointers are NULL
diff.freetype (text/plain), 869 bytes, created by
Egbert Eich
on 2005-08-12 12:19:51 UTC
(
hide
)
Description:
X.Org patch which restores the old behavior if function pointers are NULL
Filename:
MIME Type:
Creator:
Egbert Eich
Created:
2005-08-12 12:19:51 UTC
Size:
869 bytes
patch
obsolete
>Index: lib/font/FreeType/ftfuncs.c >=================================================================== >RCS file: /home/eich/cvs/xc/lib/font/FreeType/ftfuncs.c,v >retrieving revision 1.1.1.26 >diff -u -r1.1.1.26 ftfuncs.c >--- lib/font/FreeType/ftfuncs.c 25 Nov 2004 16:47:54 -0000 1.1.1.26 >+++ lib/font/FreeType/ftfuncs.c 12 Aug 2005 12:10:22 -0000 >@@ -929,6 +929,12 @@ > sfnt = (SFNT_Service)face->sfnt; > > if ( strike_index != 0xFFFFU && sfnt->load_sbits ) { >+ if (!sfnt->find_sbit_image || !sfnt->load_sbit_metrics) { >+ if ( sbitchk_incomplete_but_exist ) >+ *sbitchk_incomplete_but_exist=1; >+ error = -1; >+ goto Exit; >+ } else > /* Check whether there is a glyph sbit for the current index */ > error = sfnt->find_sbit_image( face, glyph_index, strike_index, > &range, &strike, &glyph_offset );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 97202
:
42530
|
42531
|
42532
|
42577
|
42629
| 45896 |
45959
|
46074
|
46075
|
52034
|
52035
|
73826