1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:24:41 -07:00
go/refactor/rename
David R. Jenni 4968197297 x/tools/refactor/rename: fix nil pointer dereference.
Fix a nil pointer dereference by checking the error returned by
conf.Load.

Bug was reported on Reddit:
https://www.reddit.com/r/golang/comments/5vo0fb/

Change-Id: I2ad6f03922b772f03e282a0af6eea24f8de9cef8
Reviewed-on: https://go-review.googlesource.com/37432
Reviewed-by: Alan Donovan <adonovan@google.com>
2017-02-24 20:12:46 +00:00
..
check.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
mvpkg_test.go x/tools/refactor/rename: fix nil pointer dereference. 2017-02-24 20:12:46 +00:00
mvpkg.go refactor/rename: fix two bugs related to MS Windows' path separator 2016-07-15 14:58:04 +00:00
rename_test.go refactor/rename: perform renaming in doc comments 2016-11-29 19:07:26 +00:00
rename.go x/tools/refactor/rename: fix nil pointer dereference. 2017-02-24 20:12:46 +00:00
spec.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
util.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00