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

Issue 5347041: code review 5347041: gofix: avoid panic on body-less functions. (Closed)

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

Description

gofix: avoid panic on body-less functions in netudpgroup.

Patch Set 1 #

Patch Set 2 : diff -r ad9821161b3e https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r ad9821161b3e https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r a08ea6d0b200 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 84def2047f20 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M src/cmd/gofix/netudpgroup.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/gofix/netudpgroup_test.go View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 6
dsymonds
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 9 months ago (2011-11-04 04:24:55 UTC) #1
r
http://codereview.appspot.com/5347041/diff/5001/src/cmd/gofix/fix.go File src/cmd/gofix/fix.go (right): http://codereview.appspot.com/5347041/diff/5001/src/cmd/gofix/fix.go#newcode65 src/cmd/gofix/fix.go:65: // x may be a nil pointer; that is, ...
13 years, 9 months ago (2011-11-04 18:49:27 UTC) #2
rsc
agreed. whatever is passing nil to walkBeforeAfter here is not supposed to do that. russ
13 years, 9 months ago (2011-11-04 18:51:39 UTC) #3
dsymonds
PTAL
13 years, 9 months ago (2011-11-04 23:52:55 UTC) #4
r
LGTM
13 years, 9 months ago (2011-11-05 00:21:47 UTC) #5
dsymonds
13 years, 9 months ago (2011-11-05 00:28:31 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=fe776ef14d7e ***

gofix: avoid panic on body-less functions in netudpgroup.

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

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