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

Issue 795383003: Don't use AddSubstring for external natives (Closed)

Created:
6 years ago by jochen (gone - plz use gerrit)
Modified:
6 years ago
Reviewers:
Sven Panne, adamk
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Don't use AddSubstring for external natives The input string is not necessarily zero terminated BUG=chromium:443230 R=adamk@chromium.org LOG=n Committed: https://crrev.com/a09168be68e09c8374829895ac335d4df7c65991 Cr-Commit-Position: refs/heads/master@{#25879}

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -10 lines) Patch
M src/natives-external.cc View 1 1 chunk +8 lines, -9 lines 1 comment Download
M src/utils.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
jochen (gone - plz use gerrit)
6 years ago (2014-12-17 19:25:02 UTC) #1
adamk
It looks to me like the caller that's triggering this DCHECK, NativesStore::NameFromId, is abusing the ...
6 years ago (2014-12-17 19:36:22 UTC) #2
jochen (gone - plz use gerrit)
fair enough +svenpanne because timzeon
6 years ago (2014-12-18 09:32:27 UTC) #4
Sven Panne
lgtm https://codereview.chromium.org/795383003/diff/20001/src/natives-external.cc File src/natives-external.cc (right): https://codereview.chromium.org/795383003/diff/20001/src/natives-external.cc#newcode85 src/natives-external.cc:85: const char native[] = "native "; Probably not ...
6 years ago (2014-12-18 10:32:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/795383003/20001
6 years ago (2014-12-18 10:34:09 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-18 11:01:49 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-18 18:05:21 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a09168be68e09c8374829895ac335d4df7c65991
Cr-Commit-Position: refs/heads/master@{#25879}

Powered by Google App Engine
This is Rietveld 408576698