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

Issue 5515050: code review 5515050: encoding/gob: fix panic when decoding []byte to incompa... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by snaury
Modified:
12 years, 3 months ago
Reviewers:
r
CC:
golang-dev, rog, r2
Visibility:
Public.

Description

encoding/gob: fix panic when decoding []byte to incompatible slice types Fixes issue 2662.

Patch Set 1 #

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

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

Total comments: 3

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

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

Messages

Total messages: 9
snaury
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 3 months ago (2012-01-06 16:06:14 UTC) #1
rog
http://codereview.appspot.com/5515050/diff/3/src/pkg/encoding/gob/decode.go File src/pkg/encoding/gob/decode.go (left): http://codereview.appspot.com/5515050/diff/3/src/pkg/encoding/gob/decode.go#oldcode1042 src/pkg/encoding/gob/decode.go:1042: sw = tt.(*sliceType) wouldn't a simple fix be sufficient? ...
12 years, 3 months ago (2012-01-06 16:28:45 UTC) #2
snaury
http://codereview.appspot.com/5515050/diff/3/src/pkg/encoding/gob/decode.go File src/pkg/encoding/gob/decode.go (left): http://codereview.appspot.com/5515050/diff/3/src/pkg/encoding/gob/decode.go#oldcode1042 src/pkg/encoding/gob/decode.go:1042: sw = tt.(*sliceType) On 2012/01/06 16:28:46, rog wrote: > ...
12 years, 3 months ago (2012-01-06 16:34:43 UTC) #3
rog
http://codereview.appspot.com/5515050/diff/3/src/pkg/encoding/gob/decode.go File src/pkg/encoding/gob/decode.go (left): http://codereview.appspot.com/5515050/diff/3/src/pkg/encoding/gob/decode.go#oldcode1042 src/pkg/encoding/gob/decode.go:1042: sw = tt.(*sliceType) On 2012/01/06 16:34:43, snaury wrote: > ...
12 years, 3 months ago (2012-01-06 17:15:00 UTC) #4
snaury
Hello golang-dev@googlegroups.com, rogpeppe@gmail.com (cc: golang-dev@googlegroups.com, rogpeppe@gmail.com), Please take another look.
12 years, 3 months ago (2012-01-06 17:29:26 UTC) #5
snaury
On 2012/01/06 17:29:26, snaury wrote: > Hello mailto:golang-dev@googlegroups.com, mailto:rogpeppe@gmail.com (cc: > mailto:golang-dev@googlegroups.com, mailto:rogpeppe@gmail.com), > > ...
12 years, 3 months ago (2012-01-09 15:29:01 UTC) #6
r2
On Jan 9, 2012, at 7:29 AM, snaury@gmail.com wrote: > On 2012/01/06 17:29:26, snaury wrote: ...
12 years, 3 months ago (2012-01-09 16:51:33 UTC) #7
r
*** Submitted as 0b7f7406d1da *** encoding/gob: fix panic when decoding []byte to incompatible slice types ...
12 years, 3 months ago (2012-01-09 20:52:08 UTC) #8
r
12 years, 3 months ago (2012-01-09 20:52:13 UTC) #9
LGTM
Sign in to reply to this message.

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