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

Issue 93078: Fix for minimum size check (Closed)

Created:
11 years, 8 months ago by Nikita Ofitserov
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix for minimum size check cds->cbData is data length in bytes, and min_message_size is in characters. So it needs to be multiplied by sizeof(wchar_t)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed whitespace and comment #

Total comments: 1

Patch Set 3 : Added DCHECK #

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

Messages

Total messages: 5 (0 generated)
Evan Martin
Carlos, this seems like something you'd like to look at. If it looks good to ...
11 years, 8 months ago (2009-04-23 20:43:15 UTC) #1
Evan Martin
Looks good to me, minor comments below. http://codereview.chromium.org/93078/diff/1/2 File chrome/browser/process_singleton_win.cc (right): http://codereview.chromium.org/93078/diff/1/2#newcode173 Line 173: static ...
11 years, 8 months ago (2009-04-23 20:46:37 UTC) #2
Nikita Ofitserov
On 2009/04/23 20:46:37, Evan Martin wrote: > Looks good to me, minor comments below. > ...
11 years, 8 months ago (2009-04-23 20:53:43 UTC) #3
cpu_(ooo_6.6-7.5)
LGTM http://codereview.chromium.org/93078/diff/1003/1004 File chrome/browser/process_singleton_win.cc (right): http://codereview.chromium.org/93078/diff/1003/1004#newcode180 Line 180: can you please add a check for ...
11 years, 8 months ago (2009-04-24 05:04:18 UTC) #4
Nikita Ofitserov
11 years, 8 months ago (2009-04-24 14:23:52 UTC) #5
On 2009/04/24 05:04:18, cpu wrote:
> LGTM
> 
> http://codereview.chromium.org/93078/diff/1003/1004
> File chrome/browser/process_singleton_win.cc (right):
> 
> http://codereview.chromium.org/93078/diff/1003/1004#newcode180
> Line 180: 
> can you please add a check for cds->lpData not being NULL
> right before we construct msg string?

Done.

Powered by Google App Engine
This is Rietveld 408576698