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

Issue 7938043: code review 7938043: image/gif: tighten the checks for when the amount of an... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by nigeltao
Modified:
11 years, 1 month ago
Reviewers:
CC:
r, jeff.allen, golang-dev
Visibility:
Public.

Description

image/gif: tighten the checks for when the amount of an image's pixel data does not agree with its bounds.

Patch Set 1 #

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

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

Total comments: 4

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -39 lines) Patch
M src/pkg/image/gif/reader.go View 1 2 3 5 chunks +53 lines, -39 lines 0 comments Download
A src/pkg/image/gif/reader_test.go View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 4
nigeltao
Hello r@golang.org (cc: golang-dev@googlegroups.com, jeff.allen@gmail.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 1 month ago (2013-03-21 05:03:56 UTC) #1
jeff.allen
https://codereview.appspot.com/7938043/diff/5001/src/pkg/image/gif/reader.go File src/pkg/image/gif/reader.go (right): https://codereview.appspot.com/7938043/diff/5001/src/pkg/image/gif/reader.go#newcode153 src/pkg/image/gif/reader.go:153: if err == io.EOF { Why is it safe ...
11 years, 1 month ago (2013-03-21 08:00:02 UTC) #2
r
LGTM https://codereview.appspot.com/7938043/diff/5001/src/pkg/image/gif/reader.go File src/pkg/image/gif/reader.go (right): https://codereview.appspot.com/7938043/diff/5001/src/pkg/image/gif/reader.go#newcode193 src/pkg/image/gif/reader.go:193: // Both lzwr and br should be exhausted: ...
11 years, 1 month ago (2013-03-21 16:27:24 UTC) #3
nigeltao
11 years, 1 month ago (2013-03-22 03:42:16 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=980d0c9ba7fd ***

image/gif: tighten the checks for when the amount of an image's pixel
data does not agree with its bounds.

R=r, jeff.allen
CC=golang-dev
https://codereview.appspot.com/7938043
Sign in to reply to this message.

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