Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(356)

Issue 6114047: Fix ibus-x11 SEGV in _process_key_event_done. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by fujiwara
Modified:
13 years, 9 months ago
Reviewers:
shawn.p.huang, Peng
CC:
shawn.p.huang_gmail.com, fujiwara
Base URL:
git@github.com:ibus/ibus.git@1.4.y
Visibility:
Public.

Description

Fix ibus-x11 SEGV in _process_key_event_done. IMForwardEvent() calls _Xi18nFindClient() and it could return NULL. Maybe the connect_id would be disconnected during the async process_key_event. This fix checks XIM_DISCONNECT in ims_protocol_handler() to cancel IMForwardEvent() in _process_key_event_done(). BUG=RH#769135 TEST=Linux desktop

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -9 lines) Patch
M client/x11/main.c View 3 chunks +41 lines, -9 lines 0 comments Download

Messages

Total messages: 2
fujiwara
Ported the patch from master.
13 years, 9 months ago (2012-04-24 14:36:27 UTC) #1
Peng
13 years, 9 months ago (2012-04-24 14:41:16 UTC) #2
On 2012/04/24 14:36:27, fujiwara wrote:
> Ported the patch from master.

lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b