Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Issue 9967006: Check host_ is not NULL in isRToL. (Closed)

Created:
8 years, 8 months ago by Jamie
Modified:
8 years, 8 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Check host_ is not NULL in isRToL. BUG=122400 TEST=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=131444

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M remoting/host/disconnect_window_mac.mm View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Jamie
isRToL is being called after host_ has been NULLed. I don't know enough about the ...
8 years, 8 months ago (2012-04-09 19:48:31 UTC) #1
Lambros
8 years, 8 months ago (2012-04-09 20:21:13 UTC) #2
On 2012/04/09 19:48:31, Jamie wrote:
> isRToL is being called after host_ has been NULLed. I don't know enough about
> the threading model to know whether or not this check is sufficient to prevent
> the crash, or whether we need locking as well.

I would hope that all the methods on this class are called on the same thread.

lgtm

Powered by Google App Engine
This is Rietveld 408576698