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

Issue 181013016: fixed issue 349227: Uninit error due to DuplicateHandle failure - add check on DuplicateHandle and … (Closed)

Created:
6 years, 9 months ago by zhaoqin
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

fixed issue 349227: Uninit error due to DuplicateHandle failure - add check on DuplicateHandle and assign duped to be NULL on failure BUG=349227 R=sky@chromium.org, wfh@chromium.org, jschuh@chromium.org TEST=manual+drmemory Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255955

Patch Set 1 #

Total comments: 4

Patch Set 2 : PTAL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M content/public/test/mock_render_process_host.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
zhaoqin
6 years, 9 months ago (2014-03-05 17:14:16 UTC) #1
sky
https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc File content/public/test/mock_render_process_host.cc (right): https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc#newcode146 content/public/test/mock_render_process_host.cc:146: HANDLE duped; Can you instead explicitly set to duped ...
6 years, 9 months ago (2014-03-05 17:36:49 UTC) #2
Will Harris
https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc File content/public/test/mock_render_process_host.cc (right): https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc#newcode149 content/public/test/mock_render_process_host.cc:149: duped = NULL; should this be INVALID_HANDLE_VALUE?
6 years, 9 months ago (2014-03-05 17:40:35 UTC) #3
jschuh
https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc File content/public/test/mock_render_process_host.cc (right): https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc#newcode149 content/public/test/mock_render_process_host.cc:149: duped = NULL; On 2014/03/05 17:40:35, Will Harris wrote: ...
6 years, 9 months ago (2014-03-05 17:52:02 UTC) #4
zhaoqin
https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc File content/public/test/mock_render_process_host.cc (right): https://codereview.chromium.org/181013016/diff/1/content/public/test/mock_render_process_host.cc#newcode146 content/public/test/mock_render_process_host.cc:146: HANDLE duped; On 2014/03/05 17:36:50, sky wrote: > Can ...
6 years, 9 months ago (2014-03-05 19:09:41 UTC) #5
sky
Actually, why not set it both places? Seems safest to me.
6 years, 9 months ago (2014-03-05 21:23:20 UTC) #6
zhaoqin
ping
6 years, 9 months ago (2014-03-10 15:50:43 UTC) #7
Will Harris
On 2014/03/10 15:50:43, zhaoqin wrote: > ping LGTM
6 years, 9 months ago (2014-03-10 15:55:28 UTC) #8
sky
LGTM
6 years, 9 months ago (2014-03-10 16:12:56 UTC) #9
zhaoqin
The CQ bit was checked by zhaoqin@google.com
6 years, 9 months ago (2014-03-10 16:14:14 UTC) #10
zhaoqin1
The CQ bit was unchecked by zhaoqin@chromium.org
6 years, 9 months ago (2014-03-10 16:31:39 UTC) #11
zhaoqin1
The CQ bit was checked by zhaoqin@chromium.org
6 years, 9 months ago (2014-03-10 16:31:41 UTC) #12
zhaoqin
6 years, 9 months ago (2014-03-10 16:39:49 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 manually as r255955 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698