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

Issue 496253003: Fix external snapshot reading (Closed)

Created:
6 years, 4 months ago by baixo
Modified:
6 years, 3 months ago
Reviewers:
rmcilroy, vogelheim
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Fix external snapshot reading by removing an assumption that strings in the snapshot file are null-terminated. R=vogelheim@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23416

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment stating why the change was necessary #

Total comments: 2

Patch Set 3 : Change natives to strncmp #

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

Messages

Total messages: 12 (0 generated)
baixo
Please take a look.
6 years, 4 months ago (2014-08-22 10:05:12 UTC) #1
rmcilroy
+vogelheim: Could you take a look please? The external snapshot code was crashing for Andre ...
6 years, 4 months ago (2014-08-22 10:17:20 UTC) #2
baixo
On 2014/08/22 10:17:20, rmcilroy wrote: > +vogelheim: Could you take a look please? The external ...
6 years, 4 months ago (2014-08-22 10:46:59 UTC) #3
rmcilroy
On 2014/08/22 10:46:59, baixo wrote: > On 2014/08/22 10:17:20, rmcilroy wrote: > > +vogelheim: Could ...
6 years, 4 months ago (2014-08-22 13:55:18 UTC) #4
vogelheim
Sorry for the late answer; I overlooked this. Please feel free to ping me if ...
6 years, 3 months ago (2014-08-26 12:43:13 UTC) #5
baixo
Changed to strncmp https://codereview.chromium.org/496253003/diff/20001/tools/js2c.py File tools/js2c.py (right): https://codereview.chromium.org/496253003/diff/20001/tools/js2c.py#newcode514 tools/js2c.py:514: value += '\0' You're right. Just ...
6 years, 3 months ago (2014-08-26 15:36:26 UTC) #6
vogelheim
lgtm Thanks for fixing this!
6 years, 3 months ago (2014-08-26 16:34:21 UTC) #7
baixo
The CQ bit was checked by baixo@chromium.org
6 years, 3 months ago (2014-08-26 16:46:07 UTC) #8
baixo
The CQ bit was unchecked by baixo@chromium.org
6 years, 3 months ago (2014-08-26 16:46:07 UTC) #9
baixo
The CQ bit was checked by baixo@chromium.org
6 years, 3 months ago (2014-08-26 16:46:29 UTC) #10
baixo
The CQ bit was unchecked by baixo@chromium.org
6 years, 3 months ago (2014-08-26 16:46:35 UTC) #11
rmcilroy
6 years, 3 months ago (2014-08-26 16:57:04 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 manually as 23416 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698