<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.12.6</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.12.6</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.12.6'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2019-06-11T15:21:11Z</updated>
<entry>
<title>[release-branch.go1.12] go1.12.6</title>
<updated>2019-06-11T15:21:11Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2019-06-11T14:18:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4ce6a8e89668b87dce67e2f55802903d6eb9110a'/>
<id>urn:sha1:4ce6a8e89668b87dce67e2f55802903d6eb9110a</id>
<content type='text'>
Change-Id: If156d9582ad5d76589e83ac00b4fa7f3b61f1502
Reviewed-on: https://go-review.googlesource.com/c/go/+/181658
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Katie Hockman &lt;katie@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.12] doc: document Go 1.12.6</title>
<updated>2019-06-11T00:29:55Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2019-06-10T22:02:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=06a61ef36ab3e8821993fb5ac902099f7fb2ab2e'/>
<id>urn:sha1:06a61ef36ab3e8821993fb5ac902099f7fb2ab2e</id>
<content type='text'>
Change-Id: I8ae00d2392c20c627d58cf7e79015e982b971802
Reviewed-on: https://go-review.googlesource.com/c/go/+/181551
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
(cherry picked from commit ef84fa082caec4d1757377c11e98f3b5ebc934d3)
Reviewed-on: https://go-review.googlesource.com/c/go/+/181598
</content>
</entry>
<entry>
<title>[release-branch.go1.12] doc: document Go 1.11.11</title>
<updated>2019-06-11T00:28:52Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2019-06-10T22:02:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b408ab558f75ed724a6ea4098039d4fae51c3bb1'/>
<id>urn:sha1:b408ab558f75ed724a6ea4098039d4fae51c3bb1</id>
<content type='text'>
Change-Id: I1c3e3305dfee4545a6caedd48243770ab3b28277
Reviewed-on: https://go-review.googlesource.com/c/go/+/181550
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
(cherry picked from commit 55453016979124e18d3afb53c9df1590877a3b53)
Reviewed-on: https://go-review.googlesource.com/c/go/+/181552
</content>
</entry>
<entry>
<title>[release-branch.go1.12] cmd/link: fix deferreturn detector</title>
<updated>2019-06-10T19:51:25Z</updated>
<author>
<name>Keith Randall</name>
<email>keithr@alum.mit.edu</email>
</author>
<published>2019-06-07T17:22:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a6178d8ee32c3a53cd489373061d475b52cc289e'/>
<id>urn:sha1:a6178d8ee32c3a53cd489373061d475b52cc289e</id>
<content type='text'>
The logic for detecting deferreturn calls is wrong.

We used to look for a relocation whose symbol is runtime.deferreturn
and has an offset of 0. But on some architectures, the relocation
offset is not zero. These include arm (the offset is 0xebfffffe) and
s390x (the offset is 6).

This ends up setting the deferreturn offset at 0, so we end up using
the entry point live map instead of the deferreturn live map in a
frame which defers and then segfaults.

Instead, use the IsDirectJump helper to find calls.

Fixes #32484

Change-Id: Iecb530a7cf6eabd7233be7d0731ffa78873f3a54
Reviewed-on: https://go-review.googlesource.com/c/go/+/181258
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;
(cherry picked from commit 9eb403159da9debbb4881140995e62bec0c943f3)
Reviewed-on: https://go-review.googlesource.com/c/go/+/181262
Reviewed-by: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.12] cmd/go: accept -Wl,-R/path/</title>
<updated>2019-06-10T04:29:54Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-06-09T12:02:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3887549ce40f4bccd598ea491ce6a3b7334bc214'/>
<id>urn:sha1:3887549ce40f4bccd598ea491ce6a3b7334bc214</id>
<content type='text'>
This is a backport of CL 178397.

Updates #32167
Fixes #32168

Change-Id: Idb16a01d56814ea09ad277798787355dc6a3121f
Reviewed-on: https://go-review.googlesource.com/c/go/+/181437
Reviewed-by: Jason Donenfeld &lt;Jason@zx2c4.com&gt;
Reviewed-by: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
Run-TryBot: Jason Donenfeld &lt;Jason@zx2c4.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.12] cmd/go: force -coverpkg main packages to be built as libraries</title>
<updated>2019-06-07T22:33:16Z</updated>
<author>
<name>Jay Conrod</name>
<email>jayconrod@google.com</email>
</author>
<published>2019-05-10T15:49:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=451e6d61b375ed8b7d2411af9514df12e9970d45'/>
<id>urn:sha1:451e6d61b375ed8b7d2411af9514df12e9970d45</id>
<content type='text'>
This fixes TestScript/cover_pkgall_multiple_mains, which started
failing after CL 174657.

When compiling main packages with coverage instrumentation
(e.g., for -coverpkg all), we now pass -p with the full import path
instead of '-p main'. This avoids link errors
'duplicate symbol main.main (types 1 and 1)'.

Fixes #32295
Updates #31946
Updates #32150

Change-Id: Id147527b1dbdc14bb33ac133c30d50c250b4365c
Reviewed-on: https://go-review.googlesource.com/c/go/+/176558
Run-TryBot: Jay Conrod &lt;jayconrod@google.com&gt;
Reviewed-by: Cherry Zhang &lt;cherryyz@google.com&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
(cherry picked from commit 3b8c804164e26bdec6ca94a5ab1b5c35fa119e5e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/179677
</content>
</entry>
<entry>
<title>[release-branch.go1.12] net/http: prevent Transport from spamming stderr on server 408 reply</title>
<updated>2019-06-07T22:00:46Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2019-05-29T21:49:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=918368e46c53e716f6c4137c174f19d9a907f887'/>
<id>urn:sha1:918368e46c53e716f6c4137c174f19d9a907f887</id>
<content type='text'>
HTTP 408 responses now exist and are seen in the wild (e.g. from
Google's GFE), so make Go's HTTP client not spam about them when seen.
They're normal (now).

Fixes #32367
Updates #32310

Change-Id: I558eb4654960c74cf20db1902ccaae13d03310f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/179457
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
(cherry picked from commit ba66d89d7882892f762e7980562287d2c79ad87e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/181239
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.12] crypto/x509: fix value ownership in isSSLPolicy on macOS</title>
<updated>2019-06-07T20:51:11Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2019-05-21T18:54:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3b05c3c2e68296ebcb9efd9b4b0739161dac964f'/>
<id>urn:sha1:3b05c3c2e68296ebcb9efd9b4b0739161dac964f</id>
<content type='text'>
CFDictionaryGetValueIfPresent does not take ownership of the value, so
releasing the properties dictionary before passing the value to CFEqual
can crash. Not really clear why this works most of the time.

See https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html

Fixes #32282
Updates #28092
Updates #30763

Change-Id: I5ee7ca276b753a48abc3aedfb78b8af68b448dd4
Reviewed-on: https://go-review.googlesource.com/c/go/+/178537
Reviewed-by: Adam Langley &lt;agl@golang.org&gt;
(cherry picked from commit a3d4655c2435e3777c45f09650539b943bab1c66)
Reviewed-on: https://go-review.googlesource.com/c/go/+/179339
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.12] os: pass correct environment when creating Windows processes</title>
<updated>2019-05-17T14:26:32Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-05-12T12:34:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=afcfe0d3c2980722af0dc55a3422c19cc53f5a65'/>
<id>urn:sha1:afcfe0d3c2980722af0dc55a3422c19cc53f5a65</id>
<content type='text'>
This is CVE-2019-11888.

Previously, passing a nil environment but a non-nil token would result
in the new potentially unprivileged process inheriting the parent
potentially privileged environment, or would result in the new
potentially privileged process inheriting the parent potentially
unprivileged environment. Either way, it's bad. In the former case, it's
an infoleak. In the latter case, it's a possible EoP, since things like
PATH could be overwritten.

Not specifying an environment currently means, "use the existing
environment". This commit amends the behavior to be, "use the existing
environment of the token the process is being created for." The behavior
therefore stays the same when creating processes without specifying a
token. And it does the correct thing when creating processes when
specifying a token.

Updates #32000
Fixes #32081

Change-Id: Ib4a90cfffb6ba866c855f66f1313372fdd34ce41
Reviewed-on: https://go-review.googlesource.com/c/go/+/177538
Run-TryBot: Jason Donenfeld &lt;Jason@zx2c4.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.12] cmd/compile: make sure to initialize static entries of slices</title>
<updated>2019-05-14T21:16:32Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@google.com</email>
</author>
<published>2019-05-13T20:43:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ecf7695c7dcfc04becde0beec0e1c5f583b42e9e'/>
<id>urn:sha1:ecf7695c7dcfc04becde0beec0e1c5f583b42e9e</id>
<content type='text'>
If a slice's entries are sparse, we decide to initialize it dynamically
instead of statically. That's CL 151319.

But if we do initialize it dynamically, we still need to initialize
the static entries. Typically we do that, but the bug fixed here is
that we don't if the entry's value is itself an array or struct.

To fix, use initKindLocalCode to ensure that both static and
dynamic entries are initialized via code.

Fixes #32013

Change-Id: I1192ffdbfb5cd50445c1206c4a3d8253295201dd
Reviewed-on: https://go-review.googlesource.com/c/go/+/176904
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Josh Bleecher Snyder &lt;josharian@gmail.com&gt;
(cherry picked from commit a9e107c85cf69d735ac81c29f4a354643e40b2b5)
Reviewed-on: https://go-review.googlesource.com/c/go/+/177040
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
</feed>
