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

Issue 3334001: Fix memory overrun possibility during tick samples processing. (Closed)

Created:
10 years, 3 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix memory overrun possibility during tick samples processing. This really can cause crash described in crbug/51919. BUG=51919 TEST=NONE Committed: http://code.google.com/p/v8/source/detail?r=5391

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M src/cpu-profiler.cc View 1 chunk +13 lines, -2 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
mnaganov (inactive)
10 years, 3 months ago (2010-09-01 12:10:38 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/3334001/diff/1/2 File src/cpu-profiler.cc (right): http://codereview.chromium.org/3334001/diff/1/2#newcode243 src/cpu-profiler.cc:243: TickSampleEventRecord record = *rec; If I remember correctly the ...
10 years, 3 months ago (2010-09-01 12:21:57 UTC) #2
mnaganov (inactive)
On 2010/09/01 12:21:57, Søren Gjesse wrote: > http://codereview.chromium.org/3334001/diff/1/2 > File src/cpu-profiler.cc (right): > > http://codereview.chromium.org/3334001/diff/1/2#newcode243 ...
10 years, 3 months ago (2010-09-01 12:32:56 UTC) #3
Søren Thygesen Gjesse
LGTM, but maybe we could do more to ensure consistency.
10 years, 3 months ago (2010-09-01 12:55:39 UTC) #4
mnaganov (inactive)
10 years, 3 months ago (2010-09-01 13:04:14 UTC) #5
On 2010/09/01 12:55:39, Søren Gjesse wrote:
> LGTM, but maybe we could do more to ensure consistency.

Yes, we can. The current solution is simple enough to be painlessly patched into
M6 and M7, and the only drawback is a possibility of having an inconsistent
sample (this doesn't incur crashing, of course).

I will think on further improvements of consistency!

Powered by Google App Engine
This is Rietveld 408576698