[Bug 678397] gray_find_cell() - longjmp causes uninitialized stack frame

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 6 13:42:16 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=678397

Marek Kašík <mkasik at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |otte at redhat.com
          Component|freetype                    |cairo
           Assignee|mkasik at redhat.com           |otte at redhat.com
    External Bug ID|                            |FreeDesktop.org 69034



--- Comment #48 from Marek Kašík <mkasik at redhat.com> ---
Hi,

I've created an upstream bug for this issue (see
https://bugs.freedesktop.org/show_bug.cgi?id=69034). The patch fixing it is
attached there.
I've changed my mind a little since yesterday. Locking every dangerous usage of
freetype's functions by mutex would lock almost whole freetype code in cairo.
Not talking about possible usage of some structures outside of cairo.
So I did what freetype recommends. It recommends to have FT_Library for each
thread. I created a hash table which contains FT_Library for each thread.
Thread IDs are used as keys to this hash table.

geeqie doesn't crash with the patch applied.

I'm reassigning this to cairo.

Regards

Marek

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=oWrpGUV60Y&a=cc_unsubscribe


More information about the fonts-bugs mailing list