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

Issue 5562049: code review 5562049: gob: reduce the maximum message size (Closed)

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

Description

gob: reduce the maximum message size It was 2^31, but that could cause overflow and trouble. Reduce it to 2^30 and add a TODO.

Patch Set 1 #

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

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

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
13 years, 5 months ago (2012-01-22 19:12:10 UTC) #1
iant2
LGTM r@golang.org writes: > Reviewers: golang-dev_googlegroups.com, > > Message: > Hello golang-dev@googlegroups.com, > > I'd ...
13 years, 5 months ago (2012-01-22 19:46:02 UTC) #2
r
13 years, 5 months ago (2012-01-22 20:01:15 UTC) #3
*** Submitted as ed752e72f3d7 ***

gob: reduce the maximum message size
It was 2^31, but that could cause overflow and trouble.
Reduce it to 2^30 and add a TODO.

R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/5562049
Sign in to reply to this message.

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