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

Issue 102470046: code review 102470046: net: Don't read beyond end of slice when parsing re...

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by jborg
Modified:
9 years, 9 months ago
Reviewers:
gobot, adg
CC:
ruiu, josharian, adg, golang-codereviews
Visibility:
Public.

Description

net: Don't read beyond end of slice when parsing resolv.conf options. Fixes issue 8252.

Patch Set 1 #

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

Total comments: 1

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M src/pkg/net/dnsconfig_unix.go View 1 2 2 chunks +7 lines, -3 lines 1 comment Download
M src/pkg/net/testdata/resolv.conf View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
ruiu
Is this ready for review? If so you want run "hg mail" to sent it ...
9 years, 10 months ago (2014-06-24 05:27:15 UTC) #1
jborg
Hello ruiu@google.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
9 years, 10 months ago (2014-07-03 11:54:49 UTC) #2
josharian
https://codereview.appspot.com/102470046/diff/60001/src/pkg/net/dnsconfig_unix.go File src/pkg/net/dnsconfig_unix.go (right): https://codereview.appspot.com/102470046/diff/60001/src/pkg/net/dnsconfig_unix.go#newcode108 src/pkg/net/dnsconfig_unix.go:108: return len(s) >= len(prefix) && s[0:len(prefix)] == prefix You ...
9 years, 10 months ago (2014-07-03 17:00:42 UTC) #3
adg
LGTM
9 years, 9 months ago (2014-07-15 04:43:55 UTC) #4
adg
*** Submitted as https://code.google.com/p/go/source/detail?r=5207b394de96 *** net: Don't read beyond end of slice when parsing resolv.conf ...
9 years, 9 months ago (2014-07-15 04:49:34 UTC) #5
gobot
This CL appears to have broken the freebsd-amd64-race builder. See http://build.golang.org/log/1fadda101f2aec1097883c4a466d7b414de77a43
9 years, 9 months ago (2014-07-15 05:58:30 UTC) #6
adg
9 years, 9 months ago (2014-07-15 06:01:08 UTC) #7
On 15 July 2014 15:58, <gobot@golang.org> wrote:

> This CL appears to have broken the freebsd-amd64-race builder.
> See http://build.golang.org/log/1fadda101f2aec1097883c4a466d7b414de77a43
>

false
Sign in to reply to this message.

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