Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(567)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 6811080: code review 6811080: archive/zip: Fix bounds check panic for ZIP files with ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by davemc
Modified:
13 years, 2 months ago
Reviewers:
adg
CC:
adg, dave_cheney.net, gobot, golang-dev
Visibility:
Public.
archive/zip: Fix bounds check panic for ZIP files with a truncated extra header.

Patch Set 1 #

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

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

Total comments: 4

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

Created: 13 years, 2 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M src/pkg/archive/zip/reader.go View 1 2 chunks +5 lines, -1 line 0 comments Download
M src/pkg/archive/zip/zip_test.go View 1 2 3 2 chunks +31 lines, -18 lines 0 comments Download
Total messages: 8
|
davemc
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
13 years, 2 months ago (2012年11月07日 02:35:51 UTC) #1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/go 
Sign in to reply to this message.
gobot
R=adg (assigned by dsymonds)
13 years, 2 months ago (2012年11月07日 03:20:02 UTC) #2
R=adg (assigned by dsymonds)
Sign in to reply to this message.
dave_cheney.net
On 2012年11月07日 03:20:02, gobot wrote: > R=adg (assigned by dsymonds) Very nice, thank you for ...
13 years, 2 months ago (2012年11月07日 03:52:13 UTC) #3
On 2012年11月07日 03:20:02, gobot wrote:
> R=adg (assigned by dsymonds)
Very nice, thank you for fixing this.
Sign in to reply to this message.
adg
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test.go File src/pkg/archive/zip/zip_test.go (right): https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test.go#newcode193 src/pkg/archive/zip/zip_test.go:193: if _, err = NewReader(bytes.NewReader(b), int64(len(b))); err == nil ...
13 years, 2 months ago (2012年11月07日 09:30:26 UTC) #4
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test.go
File src/pkg/archive/zip/zip_test.go (right):
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test...
src/pkg/archive/zip/zip_test.go:193: if _, err = NewReader(bytes.NewReader(b),
int64(len(b))); err == nil {
err != ErrFormat
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test...
src/pkg/archive/zip/zip_test.go:194: t.Fatal("expected ErrFormat")
t.Fatalf("got %v, expected ErrFormat", err)
Sign in to reply to this message.
davemc
Hello adg@golang.org, dave@cheney.net (cc: gobot@golang.org, golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2012年11月08日 00:20:24 UTC) #5
Sign in to reply to this message.
davemc
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test.go File src/pkg/archive/zip/zip_test.go (right): https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test.go#newcode193 src/pkg/archive/zip/zip_test.go:193: if _, err = NewReader(bytes.NewReader(b), int64(len(b))); err == nil ...
13 years, 2 months ago (2012年11月08日 00:21:00 UTC) #6
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test.go
File src/pkg/archive/zip/zip_test.go (right):
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test...
src/pkg/archive/zip/zip_test.go:193: if _, err = NewReader(bytes.NewReader(b),
int64(len(b))); err == nil {
On 2012年11月07日 09:30:26, adg wrote:
> err != ErrFormat
Done.
https://codereview.appspot.com/6811080/diff/3003/src/pkg/archive/zip/zip_test...
src/pkg/archive/zip/zip_test.go:194: t.Fatal("expected ErrFormat")
On 2012年11月07日 09:30:26, adg wrote:
> t.Fatalf("got %v, expected ErrFormat", err)
Done.
Sign in to reply to this message.
adg
LGTM
13 years, 2 months ago (2012年11月08日 08:53:32 UTC) #7
LGTM
Sign in to reply to this message.
adg
*** Submitted as http://code.google.com/p/go/source/detail?r=f5c69f87ef34 *** archive/zip: Fix bounds check panic for ZIP files with a ...
13 years, 2 months ago (2012年11月12日 11:21:04 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=f5c69f87ef34 ***
archive/zip: Fix bounds check panic for ZIP files with a truncated extra header.
R=adg, dave
CC=gobot, golang-dev
http://codereview.appspot.com/6811080
Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.
|
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /