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

Issue 4060041: Do not allow clients to destroy the server-side config service for safety (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Yusuke Sato
Modified:
13 years, 10 months ago
Reviewers:
shawn.p.huang, Peng Huang
CC:
satorux
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Do not allow clients to destroy the server-side config service for safety. Unset the own flag of priv->config so that the config proxy object never destroys the config service even if a client wrongly unref()s the priv->config object. BUG=none TEST=manually

Patch Set 1 #

Total comments: 2

Patch Set 2 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/ibusbus.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/ibusconfig.c View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4
Yusuke Sato
13 years, 10 months ago (2011-01-18 05:45:34 UTC) #1
Peng
http://codereview.appspot.com/4060041/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4060041/diff/1/src/ibusbus.c#newcode772 src/ibusbus.c:772: IBUS_PROXY (priv->config)->own = FALSE; I think it is better ...
13 years, 10 months ago (2011-01-18 15:17:06 UTC) #2
Yusuke Sato
fixed and tested. PTAL. http://codereview.appspot.com/4060041/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4060041/diff/1/src/ibusbus.c#newcode772 src/ibusbus.c:772: IBUS_PROXY (priv->config)->own = FALSE; I ...
13 years, 10 months ago (2011-01-19 01:09:57 UTC) #3
Peng
13 years, 10 months ago (2011-01-19 01:17:27 UTC) #4
LGTM
Sign in to reply to this message.

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