<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.16.12</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.16.12</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.16.12'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2021-12-09T13:44:57Z</updated>
<entry>
<title>[release-branch.go1.16] go1.16.12</title>
<updated>2021-12-09T13:44:57Z</updated>
<author>
<name>Alexander Rakoczy</name>
<email>alex@golang.org</email>
</author>
<published>2021-12-09T13:13:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f1f3923d2e3a0952c698d2901fc052046fa4af3d'/>
<id>urn:sha1:f1f3923d2e3a0952c698d2901fc052046fa4af3d</id>
<content type='text'>
Change-Id: I336b7203a30b17c738f1711dc4dc7654a3d17ed8
Reviewed-on: https://go-review.googlesource.com/c/go/+/370556
Trust: Alex Rakoczy &lt;alex@golang.org&gt;
Run-TryBot: Alex Rakoczy &lt;alex@golang.org&gt;
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] net/http: update bundled golang.org/x/net/http2</title>
<updated>2021-12-09T13:10:36Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2021-12-09T11:13:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d0aebe3e74fe14799f97ddd3f01129697c6a290a'/>
<id>urn:sha1:d0aebe3e74fe14799f97ddd3f01129697c6a290a</id>
<content type='text'>
Pull in security fix

    a5309b3 http2: cap the size of the server's canonical header cache

Updates #50058
Fixes CVE-2021-44716

Change-Id: Ifdd13f97fce168de5fb4b2e74ef2060d059800b9
Reviewed-on: https://go-review.googlesource.com/c/go/+/370575
Trust: Filippo Valsorda &lt;filippo@golang.org&gt;
Run-TryBot: Filippo Valsorda &lt;filippo@golang.org&gt;
Reviewed-by: Alex Rakoczy &lt;alex@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] syscall: avoid writing to p when Pipe(p) fails</title>
<updated>2021-12-09T12:28:59Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-12-08T23:06:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=99950270f3cf52cccc6966d8668ff21b573bb6f5'/>
<id>urn:sha1:99950270f3cf52cccc6966d8668ff21b573bb6f5</id>
<content type='text'>
Generally speaking Go functions make no guarantees
about what has happened to result parameters on error,
and Pipe is no exception: callers should avoid looking at
p if Pipe returns an error.

However, we had a bug in which ForkExec was using the
content of p after a failed Pipe, and others may too.
As a robustness fix, make Pipe avoid writing to p on failure.

Updates #50057

Change-Id: Ie8955025dbd20702fabadc9bbe1d1a5ac0f36305
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1291271
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/370515
Trust: Filippo Valsorda &lt;filippo@golang.org&gt;
Run-TryBot: Filippo Valsorda &lt;filippo@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Alex Rakoczy &lt;alex@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] syscall: fix ForkLock spurious close(0) on pipe failure</title>
<updated>2021-12-09T12:28:55Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-12-08T23:05:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=44a3fb49d99cc8a4de4925b69650f97bb07faf1d'/>
<id>urn:sha1:44a3fb49d99cc8a4de4925b69650f97bb07faf1d</id>
<content type='text'>
Pipe (and therefore forkLockPipe) does not make any guarantees
about the state of p after a failed Pipe(p). Avoid that assumption
and the too-clever goto, so that we don't accidentally Close a real fd
if the failed pipe leaves p[0] or p[1] set &gt;= 0.

Updates #50057
Fixes CVE-2021-44717

Change-Id: Iff8e19a6efbba0c73cc8b13ecfae381c87600bb4
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1291270
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/370514
Trust: Filippo Valsorda &lt;filippo@golang.org&gt;
Run-TryBot: Filippo Valsorda &lt;filippo@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Alex Rakoczy &lt;alex@golang.org&gt;
</content>
</entry>
<entry>
<title>Revert "[release-branch.go1.16] cmd/link: support more load commands on Mach-O"</title>
<updated>2021-12-09T12:27:47Z</updated>
<author>
<name>Alex Rakoczy</name>
<email>alex@golang.org</email>
</author>
<published>2021-12-09T12:13:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=caced3b213e879b2af0508f5f6a2d3bb3d6ef2a9'/>
<id>urn:sha1:caced3b213e879b2af0508f5f6a2d3bb3d6ef2a9</id>
<content type='text'>
This reverts commit 98ef91b38e38289b8de07a77cad7a0c4208f0106.

Reason for revert: Reducing risk for upcoming minor release.

Change-Id: Ic18609383384ebbb49d144bcb17131077de390c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/370554
Run-TryBot: Alex Rakoczy &lt;alex@golang.org&gt;
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
Trust: Alex Rakoczy &lt;alex@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] cmd/link: support more load commands on Mach-O</title>
<updated>2021-12-02T20:25:22Z</updated>
<author>
<name>Cherry Zhang</name>
<email>cherryyz@google.com</email>
</author>
<published>2021-04-22T17:45:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=98ef91b38e38289b8de07a77cad7a0c4208f0106'/>
<id>urn:sha1:98ef91b38e38289b8de07a77cad7a0c4208f0106</id>
<content type='text'>
Fixes #49923.

Change-Id: I74dd9170a51cc93ce3ec5e5860c2eb2912f081f5
Reviewed-on: https://go-review.googlesource.com/c/go/+/312729
Trust: Cherry Zhang &lt;cherryyz@google.com&gt;
Run-TryBot: Cherry Zhang &lt;cherryyz@google.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
(cherry picked from commit b6ff3c69d5fdf933f5265f95ae4bb12eaecc792f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/368835
Run-TryBot: Heschi Kreinick &lt;heschi@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Trust: Heschi Kreinick &lt;heschi@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] go1.16.11</title>
<updated>2021-12-02T20:00:54Z</updated>
<author>
<name>Heschi Kreinick</name>
<email>heschi@google.com</email>
</author>
<published>2021-12-02T19:03:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8faefcbfce6d2b2875ab74d81bb4e94b2e3adaf5'/>
<id>urn:sha1:8faefcbfce6d2b2875ab74d81bb4e94b2e3adaf5</id>
<content type='text'>
Change-Id: I2a6eb84b309b0793b5dd339a435764fb2d9c1fb8
Reviewed-on: https://go-review.googlesource.com/c/go/+/368694
Trust: Heschi Kreinick &lt;heschi@google.com&gt;
Trust: Michael Knyszek &lt;mknyszek@google.com&gt;
Run-TryBot: Heschi Kreinick &lt;heschi@google.com&gt;
Run-TryBot: Michael Knyszek &lt;mknyszek@google.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] cmd/compile: only update source type when processing struct/array</title>
<updated>2021-12-02T17:52:13Z</updated>
<author>
<name>Cuong Manh Le</name>
<email>cuong.manhle.vn@gmail.com</email>
</author>
<published>2021-11-05T13:30:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8a12f5d6e886962fb366cd58c5669001e2790885'/>
<id>urn:sha1:8a12f5d6e886962fb366cd58c5669001e2790885</id>
<content type='text'>
This is backport of CL 3651594, with the test from CL 360057.

CL 360057 fixed missing update source type in storeArgOrLoad. However,
we should only update the type when processing struct/array. If we
update the type right before calling storeArgOrLoad, we may generate a
value with invalid type, e.g, OpStructSelect with non-struct type.

Fixes #49391

Change-Id: Ib7e10f72f818880f550aae5c9f653db463ce29b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/361594
Trust: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Run-TryBot: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/361597
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] net/http: update bundled golang.org/x/net/http2</title>
<updated>2021-12-02T04:43:33Z</updated>
<author>
<name>Michael Anthony Knyszek</name>
<email>mknyszek@google.com</email>
</author>
<published>2021-12-02T03:55:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b29e772caf5089638777d84bf9f136926415f1f2'/>
<id>urn:sha1:b29e772caf5089638777d84bf9f136926415f1f2</id>
<content type='text'>
Pull in approved backports to golang.org/x/net/http2:

    64539c1 http2: don't count aborted streams as active in tests
    e677a40 ipv6: OpenBSD does not appear to support multicast loopback
    d8ae719 net/http2: Fix handling of expect continue
    cc2f99c http2: avoid busy loop when ResponseHeaderTimeout is set
    5533dda http2: avoid spurious RoundTrip error when server closes and resets stream
    26ec667 http2: close conns after use when req.Close is set

By doing:

    $ go get -d golang.org/x/net@internal-branch.go1.16-vendor
    go: downloading golang.org/x/net v0.0.0-20211201233224-64539c132272
    go get: upgraded golang.org/x/net v0.0.0-20211101194150-d8c3cde3c676 =&gt; v0.0.0-20211201233224-64539c132272
    $ go mod tidy
    $ go mod vendor
    $ go generate -run=bundle std

Fixes #49904.
Fixes #49623.
Fixes #49661.
Fixes #49560.
Fixes #49908.
Fixes #49910.

Change-Id: I73261b189f84cf1919a79129ec36a1c187723133
Reviewed-on: https://go-review.googlesource.com/c/go/+/368594
Trust: Michael Knyszek &lt;mknyszek@google.com&gt;
Run-TryBot: Michael Knyszek &lt;mknyszek@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] net/http/httptest: wait for user ConnState hooks</title>
<updated>2021-12-01T22:15:01Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2021-03-25T18:11:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0f9838eeb119ef9c49e70a8388c25f02567a5a14'/>
<id>urn:sha1:0f9838eeb119ef9c49e70a8388c25f02567a5a14</id>
<content type='text'>
Ensure that user ConnState callbacks have completed before returning
from (*httptest.Server).Close.

Fixes: #49851
Updates: #37510
Updates: #37505
Updates: #45237

Change-Id: I8fe7baa089fbe4f3836bf6ae9767c7b1270d1331
Reviewed-on: https://go-review.googlesource.com/c/go/+/304829
Trust: Damien Neil &lt;dneil@google.com&gt;
Run-TryBot: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit 5cec8b85e5dc75ef21b62efb6bd93f9007385e34)
Reviewed-on: https://go-review.googlesource.com/c/go/+/367516
Trust: Bryan C. Mills &lt;bcmills@google.com&gt;
Run-TryBot: Bryan C. Mills &lt;bcmills@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
</feed>
