<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.8.4</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.8.4</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.8.4'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2017-10-04T18:39:32Z</updated>
<entry>
<title>[release-branch.go1.8] go1.8.4</title>
<updated>2017-10-04T18:39:32Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2017-10-04T18:38:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f5bcb9b8fe9dd8949d4682b74be6ba72e5d554fb'/>
<id>urn:sha1:f5bcb9b8fe9dd8949d4682b74be6ba72e5d554fb</id>
<content type='text'>
Change-Id: Iae6c1ccd1e42656fa5a57d6367e43085143cd590
Reviewed-on: https://go-review.googlesource.com/68234
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] net/smtp: fix PlainAuth to refuse to send passwords to non-TLS servers</title>
<updated>2017-10-04T18:19:06Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2017-10-04T17:24:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4be3fc33ef512532b916aa14258087e89eb47347'/>
<id>urn:sha1:4be3fc33ef512532b916aa14258087e89eb47347</id>
<content type='text'>
PlainAuth originally refused to send passwords to non-TLS servers
and was documented as such.

In 2013, issue #5184 was filed objecting to the TLS requirement,
despite the fact that it is spelled out clearly in RFC 4954.
The only possibly legitimate use case raised was using PLAIN auth
for connections to localhost, and the suggested fix was to let the
server decide: if it advertises that PLAIN auth is OK, believe it.
That approach was adopted in CL 8279043 and released in Go 1.1.

Unfortunately, this is exactly wrong. The whole point of the TLS
requirement is to make sure not to send the password to the wrong
server or to a man-in-the-middle. Instead of implementing this rule,
CL 8279043 blindly trusts the server, so that if a man-in-the-middle
says "it's OK, you can send me your password," PlainAuth does.
And the documentation was not updated to reflect any of this.

This CL restores the original TLS check, as required by RFC 4954
and as promised in the documentation for PlainAuth.
It then carves out a documented exception for connections made
to localhost (defined as "localhost", "127.0.0.1", or "::1").

Cherry-pick of CL 68170.

Change-Id: I1d3729bbd33aa2f11a03f4c000e6bb473164957b
Reviewed-on: https://go-review.googlesource.com/68023
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] cmd/go: reject update of VCS inside VCS</title>
<updated>2017-10-04T18:15:44Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2017-09-22T16:17:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a4544a0f8af001d1fb6df0e70750f570ec49ccf9'/>
<id>urn:sha1:a4544a0f8af001d1fb6df0e70750f570ec49ccf9</id>
<content type='text'>
Cherry-pick of CL 68110.

Change-Id: Iae84c6404ab5eeb6950faa2364f97a017c67c506
Reviewed-on: https://go-review.googlesource.com/68190
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] runtime: deflake TestPeriodicGC</title>
<updated>2017-10-04T18:04:50Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2017-10-04T16:28:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9d1d78c34cc6cd5070d73cef2046e60c15c61951'/>
<id>urn:sha1:9d1d78c34cc6cd5070d73cef2046e60c15c61951</id>
<content type='text'>
It was only waiting 0.1 seconds for the two GCs it wanted.
Let it wait 1 second.

Change-Id: Ib3cdc8127cbf95694a9f173643c02529a85063af
Reviewed-on: https://go-review.googlesource.com/68150
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] os: skip TestNetworkSymbolicLink if Server service is not started</title>
<updated>2017-10-04T17:03:14Z</updated>
<author>
<name>Alex Brainman</name>
<email>alex.brainman@gmail.com</email>
</author>
<published>2017-04-30T05:51:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d45b26b1b7e7ac1823156b0a027911413e993d75'/>
<id>urn:sha1:d45b26b1b7e7ac1823156b0a027911413e993d75</id>
<content type='text'>
Fixes #20179

Change-Id: I2b405c9a212a75aae628ad51885616d33c054191
Reviewed-on: https://go-review.googlesource.com/42190
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/68030
Run-TryBot: Chris Broadfoot &lt;cbro@golang.org&gt;
Reviewed-by: Alex Brainman &lt;alex.brainman@gmail.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: update bootstrap archive URL</title>
<updated>2017-05-31T21:06:00Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2017-05-31T18:20:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f3e6216450866f761cc22c042798c88062319867'/>
<id>urn:sha1:f3e6216450866f761cc22c042798c88062319867</id>
<content type='text'>
This includes the patch for systems that build PIE executables by
defaul

Updates #20276.

Change-Id: Iecf8dfcf11bc18d397b8075559c37e3610f825cb
Reviewed-on: https://go-review.googlesource.com/44470
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/44491
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] go1.8.3</title>
<updated>2017-05-24T18:14:11Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2017-05-24T18:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=352996a381701cfa0c16e8de29cbde8f3922182f'/>
<id>urn:sha1:352996a381701cfa0c16e8de29cbde8f3922182f</id>
<content type='text'>
Change-Id: I048f21f8ca68758fdd7ac875f7db5e4ed1930f3b
Reviewed-on: https://go-review.googlesource.com/44037
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: document go1.8.3</title>
<updated>2017-05-24T18:12:51Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2017-05-24T18:05:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bb5055d6f17709e1d3679eba99138c2f53637cb2'/>
<id>urn:sha1:bb5055d6f17709e1d3679eba99138c2f53637cb2</id>
<content type='text'>
Change-Id: I5d55c3b1011dd10552d8e740fb65886306d91b5c
Reviewed-on: https://go-review.googlesource.com/44035
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/44036
</content>
</entry>
<entry>
<title>[release-branch.go1.8] cmd/compile: don't move spills to loop exits where the spill is dead</title>
<updated>2017-05-24T15:44:39Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2017-05-24T05:55:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=439c0c8be85f93306460d82ad12b47c56ee53420'/>
<id>urn:sha1:439c0c8be85f93306460d82ad12b47c56ee53420</id>
<content type='text'>
We shouldn't move a spill to a loop exit where the spill itself
is dead.  The stack location assigned to the spill might already
be reused by another spill at this point.

The case we previously handled incorrectly is the one where the value
being spilled is still live, but the spill itself is dead.

Fixes #20472

Patching directly on the release branch because the spill moving code has
already been rewritten for 1.9. (And it doesn't have this bug.)

Change-Id: I26c5273dafd98d66ec448750073c2b354ef89ad6
Reviewed-on: https://go-review.googlesource.com/44033
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Zhang &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] cmd/compile: zero ambiguously live variables at VARKILLs</title>
<updated>2017-05-24T15:23:47Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2017-05-23T22:19:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e396667ba31b971a892bf48229071aed93da1499'/>
<id>urn:sha1:e396667ba31b971a892bf48229071aed93da1499</id>
<content type='text'>
This is a redo of CL 41076 backported to the 1.8 release branch.
There were major conflicts, so I had to basically rewrite it again
from scratch.  The way Progs are allocated changed.  Liveness analysis
and Prog generation got reordered.  Liveness analysis changed from
running on gc.BasicBlock to ssa.Block.  All that makes the logic quite
a bit different.

Please review carefully.

From CL 41076:

At VARKILLs, zero a variable if it is ambiguously live.
After the VARKILL anything this variable references
might be collected. If it were to become live again later,
the GC will see references to already-collected objects.

We don't know a variable is ambiguously live until very
late in compilation (after lowering, register allocation, ...),
so it is hard to generate the code in an arch-independent way.
We also have to be careful not to clobber any registers.
Fortunately, this almost never happens so performance is ~irrelevant.

There are only 2 instances where this triggers in the stdlib.

Fixes #20029

Change-Id: Ibb757eec58ee07f40df5e561b19d315684dc4bda
Reviewed-on: https://go-review.googlesource.com/43998
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
</content>
</entry>
</feed>
