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

Issue 72323003: Harden NumberToSize against overflows. (Closed)

Created:
7 years, 1 month ago by Dmitry Lomov (no reviews)
Modified:
7 years, 1 month ago
Reviewers:
ulan, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Harden NumberToSize against overflows. The callers to NumberToSize are supposed to validate the number, but this adds a last line of defense. R=jkummerow@chromium.org, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17733

Patch Set 1 #

Total comments: 3

Patch Set 2 : Patch for landing #

Patch Set 3 : Signed-/unsigned comparison fixed #

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

Messages

Total messages: 5 (0 generated)
Dmitry Lomov (no reviews)
PTAL.
7 years, 1 month ago (2013-11-14 10:08:50 UTC) #1
Jakob Kummerow
LGTM. https://codereview.chromium.org/72323003/diff/1/src/v8conversions.h File src/v8conversions.h (right): https://codereview.chromium.org/72323003/diff/1/src/v8conversions.h#newcode64 src/v8conversions.h:64: CHECK(value >= 0 Not that it makes a ...
7 years, 1 month ago (2013-11-14 10:17:47 UTC) #2
Dmitry Lomov (no reviews)
https://codereview.chromium.org/72323003/diff/1/src/v8conversions.h File src/v8conversions.h (right): https://codereview.chromium.org/72323003/diff/1/src/v8conversions.h#newcode64 src/v8conversions.h:64: CHECK(value >= 0 On 2013/11/14 10:17:48, Jakob wrote: > ...
7 years, 1 month ago (2013-11-14 10:22:57 UTC) #3
Dmitry Lomov (no reviews)
Committed patchset #2 manually as r17733 (presubmit successful).
7 years, 1 month ago (2013-11-14 11:14:12 UTC) #4
Dmitry Lomov (no reviews)
7 years, 1 month ago (2013-11-14 11:41:37 UTC) #5
Message was sent while issue was closed.
On 2013/11/14 11:14:12, Dmitry Lomov (chromium) wrote:
> Committed patchset #2 manually as r17733 (presubmit successful).

Landed for real in r17737.

Powered by Google App Engine
This is Rietveld 408576698