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

Issue 2662213004: Do not try to read vm-service and kernel-service (Closed)

Created:
3 years, 10 months ago by Kevin Millikin (Google)
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Do not try to read vm-service and kernel-service The VM service isolate and the Kernel service isolate are given script URIs that are respectively "vm-service" and "kernel-service". We should not try to treat these as binary files. Normally they just don't exist, but if they happen to exist we should not read them. BUG= R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/1b3b85690f9d85ccd926e5d73609a995bb011c11

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M runtime/bin/main.cc View 2 chunks +24 lines, -24 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
Kevin Millikin (Google)
3 years, 10 months ago (2017-01-31 15:35:36 UTC) #2
Kevin Millikin (Google)
+vegorov
3 years, 10 months ago (2017-02-01 11:44:41 UTC) #5
Kevin Millikin (Google)
https://codereview.chromium.org/2662213004/diff/1/runtime/bin/main.cc File runtime/bin/main.cc (left): https://codereview.chromium.org/2662213004/diff/1/runtime/bin/main.cc#oldcode889 runtime/bin/main.cc:889: is_kernel = TryReadKernel(script_uri, &kernel_file, &kernel_length); This was not guarded ...
3 years, 10 months ago (2017-02-01 11:45:45 UTC) #6
Vyacheslav Egorov (Google)
lgtm
3 years, 10 months ago (2017-02-01 11:54:47 UTC) #7
Kevin Millikin (Google)
3 years, 10 months ago (2017-02-01 11:59:10 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1b3b85690f9d85ccd926e5d73609a995bb011c11 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698