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

Issue 5758069: code review 5758069: encoding/gob: fix memory corruption (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by dvyukov
Modified:
11 years, 8 months ago
Reviewers:
CC:
golang-dev, iant, rsc, r
Visibility:
Public.

Description

encoding/gob: fix memory corruption Fixes issue 3175.

Patch Set 1 #

Patch Set 2 : diff -r 5c664f190e4e https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 5c664f190e4e https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 5c664f190e4e https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 5c664f190e4e https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r 5c664f190e4e https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 5c664f190e4e https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M src/pkg/encoding/gob/decode.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/encoding/gob/gobencdec_test.go View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 7
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 1 month ago (2012-03-07 15:03:07 UTC) #1
iant
http://codereview.appspot.com/5758069/diff/7001/src/pkg/encoding/gob/gobencdec_test.go File src/pkg/encoding/gob/gobencdec_test.go (right): http://codereview.appspot.com/5758069/diff/7001/src/pkg/encoding/gob/gobencdec_test.go#newcode592 src/pkg/encoding/gob/gobencdec_test.go:592: t.Fatalf("expected nil, got %v", err) s/err/err2/
12 years, 1 month ago (2012-03-07 15:24:02 UTC) #2
dvyukov
Hello golang-dev@googlegroups.com, iant@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 1 month ago (2012-03-07 15:25:59 UTC) #3
iant
LGTM but r should check it.
12 years, 1 month ago (2012-03-07 15:27:41 UTC) #4
rsc
Leaving for r. It matches the surrounding code, so I do think it's correct; thanks ...
12 years, 1 month ago (2012-03-07 15:29:49 UTC) #5
r
LGTM sorry
12 years, 1 month ago (2012-03-07 21:48:58 UTC) #6
r
12 years, 1 month ago (2012-03-07 21:53:15 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=030cdbccb2e1 ***

encoding/gob: fix memory corruption
Fixes issue 3175.

R=golang-dev, iant, rsc, r
CC=golang-dev
http://codereview.appspot.com/5758069

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

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