Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 618516 Details for
Bug 859879
im-ibus.so causes abort with switching IMEs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for gtkimmulticontext.c
gtk+-859879-segv-im-ibus.patch (text/plain), 1.37 KB, created by
fujiwara
on 2012-09-28 10:47:13 UTC
(
hide
)
Description:
Patch for gtkimmulticontext.c
Filename:
MIME Type:
Creator:
fujiwara
Created:
2012-09-28 10:47:13 UTC
Size:
1.37 KB
patch
obsolete
>From 5cd48113862cf3890360d20ccb3df9af355b53b4 Mon Sep 17 00:00:00 2001 >From: Takao Fujiwara <tfujiwar@redhat.com> >Date: Fri, 28 Sep 2012 19:29:58 +0900 >Subject: [PATCH] Do not call unref in gtk_im_multicontext_get_slave. > >If unref is called for GtkIMContext when the context_id and >get_effective_context_id() are different, it can calls >the finalize function while the object is still used. > >https://bugzilla.redhat.com/show_bug.cgi?id=859879 >--- > gtk/gtkimmulticontext.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > >diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c >index 712d5ca..d5c389b 100644 >--- a/gtk/gtkimmulticontext.c >+++ b/gtk/gtkimmulticontext.c >@@ -265,8 +265,15 @@ gtk_im_multicontext_get_slave (GtkIMMulticontext *multicontext) > { > GtkIMMulticontextPrivate *priv = multicontext->priv; > >- if (g_strcmp0 (priv->context_id, get_effective_context_id (multicontext)) != 0) >- gtk_im_multicontext_set_slave (multicontext, NULL, FALSE); >+ if (g_strcmp0 (priv->context_id, get_effective_context_id (multicontext)) != 0) { >+ /* There is a timing issue to get the different values between >+ * priv->context_id and _gtk_im_module_get_default_context_id(). >+ * priv->slave should not be unref since the priv->slave is still used. >+ */ >+ if (priv->slave) { >+ return NULL; >+ } >+ } > > if (!priv->slave) > { >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 859879
:
617482
|
618516
|
619736
|
620096