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

Issue 5616063: code review 5616063: gob: fuzz testing, plus a fix for very large type names. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by dsymonds
Modified:
13 years, 2 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

gob: fuzz testing, plus a fix for very large type names. Fixes issue 2689.

Patch Set 1 #

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

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

Total comments: 8

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

Total comments: 1

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

Patch Set 6 : diff -r 492cbd4a22b1 https://go.googlecode.com/hg/ #

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

Messages

Total messages: 6
dsymonds
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2012-02-06 01:44:04 UTC) #1
r
http://codereview.appspot.com/5616063/diff/4001/src/pkg/encoding/gob/codec_test.go File src/pkg/encoding/gob/codec_test.go (right): http://codereview.appspot.com/5616063/diff/4001/src/pkg/encoding/gob/codec_test.go#newcode1437 src/pkg/encoding/gob/codec_test.go:1437: func TestFuzz(t *testing.T) { // comment http://codereview.appspot.com/5616063/diff/4001/src/pkg/encoding/gob/codec_test.go#newcode1457 src/pkg/encoding/gob/codec_test.go:1457: // ...
13 years, 2 months ago (2012-02-06 01:53:59 UTC) #2
dsymonds
There's also a change to error.go, which improves the failure message when the panic is ...
13 years, 2 months ago (2012-02-06 02:06:01 UTC) #3
r
LGTM http://codereview.appspot.com/5616063/diff/3/src/pkg/encoding/gob/decode.go File src/pkg/encoding/gob/decode.go (right): http://codereview.appspot.com/5616063/diff/3/src/pkg/encoding/gob/decode.go#newcode694 src/pkg/encoding/gob/decode.go:694: if nr < 0 || nr > 1<<31 ...
13 years, 2 months ago (2012-02-06 02:52:34 UTC) #4
dsymonds
http://codereview.appspot.com/5616063/diff/4001/src/pkg/encoding/gob/decode.go File src/pkg/encoding/gob/decode.go (right): http://codereview.appspot.com/5616063/diff/4001/src/pkg/encoding/gob/decode.go#newcode695 src/pkg/encoding/gob/decode.go:695: errorf("invalid type name length %d", nr) On 2012/02/06 01:53:59, ...
13 years, 2 months ago (2012-02-06 02:52:59 UTC) #5
dsymonds
13 years, 2 months ago (2012-02-06 03:02:18 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=cace174e66ec ***

gob: fuzz testing, plus a fix for very large type names.

Fixes issue 2689.

R=r
CC=golang-dev
http://codereview.appspot.com/5616063
Sign in to reply to this message.

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