Bugzilla – Attachment 42577 Details for
Bug 97202
New freetype2 library crashes Xserver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Patch, which avoids Xserver crashes on my i386 machine.
p_freetype-crashfix.diff (text/plain), 944 bytes, created by
Stefan Dirsch
on 2005-07-19 16:50:31 UTC
(
hide
)
Description:
Patch, which avoids Xserver crashes on my i386 machine.
Filename:
MIME Type:
Creator:
Stefan Dirsch
Created:
2005-07-19 16:50:31 UTC
Size:
944 bytes
patch
obsolete
>--- lib/font/FreeType/ftfuncs.c.orig 2005-07-19 15:50:00.000000000 +0000 >+++ lib/font/FreeType/ftfuncs.c 2005-07-19 15:56:23.000000000 +0000 >@@ -928,7 +928,8 @@ > face = (TT_Face)ft_face; > sfnt = (SFNT_Service)face->sfnt; > >- if ( strike_index != 0xFFFFU && sfnt->load_sbits ) { >+ if ( strike_index != 0xFFFFU && sfnt->load_sbits && >+ sfnt->find_sbit_image) { > /* 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 ); >@@ -954,7 +955,10 @@ > if ( FT_STREAM_SEEK( ebdt_pos + glyph_offset ) ) > goto Exit; > >- error = sfnt->load_sbit_metrics( stream, range, &elem_metrics ); >+ if ( sfnt->load_sbit_metrics ) { >+ error = sfnt->load_sbit_metrics( stream, range, &elem_metrics ); >+ } >+ else error=-1; > if ( error ) > goto Exit; >
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