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

Issue 6294045: code review 6294045: snappy: fix (1) encoding a 0-length input returned garb... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by nigeltao
Modified:
11 years, 11 months ago
Reviewers:
CC:
bradfitz, golang-dev
Visibility:
Public.

Description

snappy: fix (1) encoding a 0-length input returned garbage, and (2) decoding into an existing buffer returned excess bytes.

Patch Set 1 #

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

Patch Set 3 : diff -r 238603884b53 https://code.google.com/p/snappy-go #

Total comments: 1

Patch Set 4 : diff -r 238603884b53 https://code.google.com/p/snappy-go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -11 lines) Patch
M snappy/decode.go View 1 1 chunk +4 lines, -1 line 0 comments Download
M snappy/encode.go View 1 1 chunk +3 lines, -1 line 0 comments Download
M snappy/snappy_test.go View 1 4 chunks +19 lines, -9 lines 0 comments Download

Messages

Total messages: 3
nigeltao
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/snappy-go
11 years, 11 months ago (2012-06-06 06:35:36 UTC) #1
bradfitz
LGTM http://codereview.appspot.com/6294045/diff/3001/snappy/snappy_test.go File snappy/snappy_test.go (right): http://codereview.appspot.com/6294045/diff/3001/snappy/snappy_test.go#newcode38 snappy/snappy_test.go:38: for _, ebuf := range [][]byte{nil, make([]byte, 20), ...
11 years, 11 months ago (2012-06-06 06:40:39 UTC) #2
nigeltao
11 years, 11 months ago (2012-06-06 09:42:25 UTC) #3
*** Submitted as http://code.google.com/p/snappy-go/source/detail?r=e70163b7ede0
***

snappy: fix (1) encoding a 0-length input returned garbage, and
(2) decoding into an existing buffer returned excess bytes.

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

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