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

Issue 10946041: Fix crash in NaClIPCAdapter where incomplete messages incorrectly (Closed)

Created:
8 years, 3 months ago by bbudge
Modified:
8 years, 3 months ago
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Fix crash in NaClIPCAdapter where incomplete messages incorrectly return 8 null file descriptors. BUG=116317 TEST=Robby Roto app works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157828

Patch Set 1 : #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M chrome/nacl/nacl_ipc_adapter.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
bbudge
8 years, 3 months ago (2012-09-19 22:38:09 UTC) #1
dmichael (off chromium)
lgtm https://chromiumcodereview.appspot.com/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): https://chromiumcodereview.appspot.com/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc#newcode584 chrome/nacl/nacl_ipc_adapter.cc:584: msg->ndesc_length = 0; Would it be good to ...
8 years, 3 months ago (2012-09-19 22:47:48 UTC) #2
Mark Seaborn
http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc#newcode263 chrome/nacl/nacl_ipc_adapter.cc:263: msg->ndesc_length = desc_count; It's kind of odd that your ...
8 years, 3 months ago (2012-09-19 23:25:14 UTC) #3
bbudge
http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc#newcode263 chrome/nacl/nacl_ipc_adapter.cc:263: msg->ndesc_length = desc_count; On 2012/09/19 23:25:14, Mark Seaborn wrote: ...
8 years, 3 months ago (2012-09-19 23:46:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/10946041/2001
8 years, 3 months ago (2012-09-20 00:19:43 UTC) #5
commit-bot: I haz the power
Presubmit check for 10946041-2001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-20 00:19:45 UTC) #6
Mark Seaborn
http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc File chrome/nacl/nacl_ipc_adapter.cc (right): http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc#newcode584 chrome/nacl/nacl_ipc_adapter.cc:584: msg->ndesc_length = 0; On 2012/09/19 23:46:09, bbudge1 wrote: > ...
8 years, 3 months ago (2012-09-20 00:28:42 UTC) #7
bbudge
On 2012/09/20 00:28:42, Mark Seaborn wrote: > http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc > File chrome/nacl/nacl_ipc_adapter.cc (right): > > http://codereview.chromium.org/10946041/diff/2001/chrome/nacl/nacl_ipc_adapter.cc#newcode584 ...
8 years, 3 months ago (2012-09-20 00:51:38 UTC) #8
bbudge
PTAL
8 years, 3 months ago (2012-09-20 17:21:04 UTC) #9
dmichael (off chromium)
lgtm, that's better, thanks. I think you can TBR mseaborn if he's not around.
8 years, 3 months ago (2012-09-20 17:22:38 UTC) #10
Mark Seaborn
LGTM
8 years, 3 months ago (2012-09-20 17:24:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/10946041/9001
8 years, 3 months ago (2012-09-20 17:28:41 UTC) #12
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 20:46:05 UTC) #13
Change committed as 157828

Powered by Google App Engine
This is Rietveld 408576698