Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2473)

Issue 67990043: code review 67990043: runtime: fix potential memory corruption (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by dvyukov
Modified:
10 years, 2 months ago
Reviewers:
gobot, rsc
CC:
golang-codereviews, khr, rsc
Visibility:
Public.

Description

runtime: fix potential memory corruption Reinforce the guarantee that MSpan_EnsureSwept actually ensures that the span is swept. I have not observed crashes related to this, but I do not see why it can't crash as well.

Patch Set 1 #

Patch Set 2 : diff -r cf5dd8accd5e https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r cf5dd8accd5e https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r 8379b111d712 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M src/pkg/runtime/mgc0.c View 1 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/runtime/mheap.c View 1 6 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4
dvyukov
Hello golang-codereviews@googlegroups.com (cc: khr@golang.org, rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
10 years, 2 months ago (2014-02-24 08:21:17 UTC) #1
rsc
LGTM
10 years, 2 months ago (2014-02-24 16:36:20 UTC) #2
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=de23a6a5048d *** runtime: fix potential memory corruption Reinforce the guarantee that MSpan_EnsureSwept ...
10 years, 2 months ago (2014-02-24 16:53:25 UTC) #3
gobot
10 years, 2 months ago (2014-02-25 02:47:13 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the linux-arm-cheney-panda builder.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b