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

Issue 9988043: code review 9988043: encoding/gob: consistently use unsafe.Pointer for point... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by iant
Modified:
10 years, 11 months ago
Reviewers:
r, albert.strasheim
CC:
golang-dev, cshapiro1, r, albert.strasheim
Visibility:
Public.

Description

encoding/gob: consistently use unsafe.Pointer for pointer values Fixes issue 5621.

Patch Set 1 #

Total comments: 2

Patch Set 2 : diff -r 6dad366e9f94 https://code.google.com/p/go #

Patch Set 3 : diff -r 1c764773c6ce https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -39 lines) Patch
M src/pkg/encoding/gob/decode.go View 15 chunks +24 lines, -25 lines 0 comments Download
M src/pkg/encoding/gob/encode.go View 1 6 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 9
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 11 months ago (2013-06-04 00:01:42 UTC) #1
iant
I'm not sure this fixes issue 5621, it needs testing.
10 years, 11 months ago (2013-06-04 00:02:30 UTC) #2
cshapiro1
https://codereview.appspot.com/9988043/diff/1/src/pkg/encoding/gob/encode.go File src/pkg/encoding/gob/encode.go (right): https://codereview.appspot.com/9988043/diff/1/src/pkg/encoding/gob/encode.go#newcode376 src/pkg/encoding/gob/encode.go:376: func (enc *Encoder) encodeArray(b *bytes.Buffer, p uintptr, op encOp, ...
10 years, 11 months ago (2013-06-04 00:12:18 UTC) #3
r
https://codereview.appspot.com/9988043/diff/1/src/pkg/encoding/gob/encode.go File src/pkg/encoding/gob/encode.go (right): https://codereview.appspot.com/9988043/diff/1/src/pkg/encoding/gob/encode.go#newcode376 src/pkg/encoding/gob/encode.go:376: func (enc *Encoder) encodeArray(b *bytes.Buffer, p uintptr, op encOp, ...
10 years, 11 months ago (2013-06-04 00:24:54 UTC) #4
iant
On 2013/06/04 00:12:18, cshapiro1 wrote: > https://codereview.appspot.com/9988043/diff/1/src/pkg/encoding/gob/encode.go > File src/pkg/encoding/gob/encode.go (right): > > https://codereview.appspot.com/9988043/diff/1/src/pkg/encoding/gob/encode.go#newcode376 > ...
10 years, 11 months ago (2013-06-04 05:46:33 UTC) #5
albert.strasheim
LGTM On 2013/06/04 00:02:30, iant wrote: > I'm not sure this fixes issue 5621, it ...
10 years, 11 months ago (2013-06-04 06:38:31 UTC) #6
r
LGTM
10 years, 11 months ago (2013-06-04 10:30:55 UTC) #7
iant
On 2013/06/04 06:38:31, albert.strasheim wrote: > > Could someone explain a bit more about what ...
10 years, 11 months ago (2013-06-04 13:20:34 UTC) #8
iant
10 years, 11 months ago (2013-06-04 13:21:03 UTC) #9
*** Submitted as https://code.google.com/p/go/source/detail?r=962719c554c4 ***

encoding/gob: consistently use unsafe.Pointer for pointer values

Fixes issue 5621.

R=golang-dev, cshapiro, r, fullung
CC=golang-dev
https://codereview.appspot.com/9988043
Sign in to reply to this message.

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