<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.17.5</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.17.5</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.17.5'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2021-12-09T13:44:55Z</updated>
<entry>
<title>[release-branch.go1.17] go1.17.5</title>
<updated>2021-12-09T13:44:55Z</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=de690c2ff8e323c7ce9e274f986dc6f824b35405'/>
<id>urn:sha1:de690c2ff8e323c7ce9e274f986dc6f824b35405</id>
<content type='text'>
Change-Id: Ief6fb9e836c1d40ece56868d65ebf65f74e65665
Reviewed-on: https://go-review.googlesource.com/c/go/+/370555
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.17] net/http: update bundled golang.org/x/net/http2</title>
<updated>2021-12-09T13:07:36Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2021-12-09T11:32:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=48d948963c5ce7add72af5665a871caff6c1d35a'/>
<id>urn:sha1:48d948963c5ce7add72af5665a871caff6c1d35a</id>
<content type='text'>
Pull in security fix

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

Updates #50058
Fixes CVE-2021-44716

Change-Id: Ia89e3d22a173c6cb83f03608d5186fcd08f2956c
Reviewed-on: https://go-review.googlesource.com/c/go/+/370574
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.17] syscall: avoid writing to p when Pipe(p) fails</title>
<updated>2021-12-09T12:28:48Z</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=65633fee16f7a3d63c1d6918a80ac802a8f2d529'/>
<id>urn:sha1:65633fee16f7a3d63c1d6918a80ac802a8f2d529</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/+/370535
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;
</content>
</entry>
<entry>
<title>[release-branch.go1.17] syscall: fix ForkLock spurious close(0) on pipe failure</title>
<updated>2021-12-09T12:28:39Z</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=e46abcb816fb20663483f84fe52e370790a99bee'/>
<id>urn:sha1:e46abcb816fb20663483f84fe52e370790a99bee</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/+/370534
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.17] misc/cgo/testplugin: skip TestIssue25756pie on darwin/arm64 builder</title>
<updated>2021-12-06T23:45:46Z</updated>
<author>
<name>Heschi Kreinick</name>
<email>heschi@google.com</email>
</author>
<published>2021-12-06T22:45:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=61317ef99e015600704ee580a370f356f1bb4a6b'/>
<id>urn:sha1:61317ef99e015600704ee580a370f356f1bb4a6b</id>
<content type='text'>
Repeat of CL 321349 for macOS 12. We won't need to do this again -- the
test is passing at tip.

Updates #46239.

Change-Id: Ib279ada443ee03eb8e70fde4bbfba65ce0f6322e
Reviewed-on: https://go-review.googlesource.com/c/go/+/369748
Trust: Heschi Kreinick &lt;heschi@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Run-TryBot: Heschi Kreinick &lt;heschi@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.17] go1.17.4</title>
<updated>2021-12-02T20:02:34Z</updated>
<author>
<name>Heschi Kreinick</name>
<email>heschi@google.com</email>
</author>
<published>2021-12-02T19:04:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0f2d0d0694c8680909252ca45dbffbcaff8e430a'/>
<id>urn:sha1:0f2d0d0694c8680909252ca45dbffbcaff8e430a</id>
<content type='text'>
Change-Id: I11748377b7a35bd38b52e6f81093cc210f6d2857
Reviewed-on: https://go-review.googlesource.com/c/go/+/368695
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;
</content>
</entry>
<entry>
<title>[release-branch.go1.17] cmd/compile: only update source type when processing struct/array</title>
<updated>2021-12-02T17:52:07Z</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=759a9211d4e3d3eace3125e8a55d7fca1c94dcc6'/>
<id>urn:sha1:759a9211d4e3d3eace3125e8a55d7fca1c94dcc6</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 #49392

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/+/361596
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.17] net/http: update bundled golang.org/x/net/http2</title>
<updated>2021-12-02T04:43:37Z</updated>
<author>
<name>Michael Anthony Knyszek</name>
<email>mknyszek@google.com</email>
</author>
<published>2021-12-01T23:56:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=01779135c09ac4c2ba0d0bc7b3ae0889ad9ad989'/>
<id>urn:sha1:01779135c09ac4c2ba0d0bc7b3ae0889ad9ad989</id>
<content type='text'>
Pull in approved backports to golang.org/x/net/http2:

    85e122b net/http2: Fix handling of expect continue
    1dc0aec http2: don't count aborted streams as active in tests
    e973a42 ipv6: OpenBSD does not appear to support multicast loopback
    9592dd5 http2: avoid busy loop when ResponseHeaderTimeout is set
    94fb2bc http2: avoid spurious RoundTrip error when server closes and resets stream
    e108c19 http2: close conns after use when req.Close is set

By doing:

    $ go get -d golang.org/x/net@internal-branch.go1.17-vendor
    go: upgraded golang.org/x/net v0.0.0-20211101194204-95aca89e93de =&gt; v0.0.0-20211201233630-85e122b1a9b3
    $ go mod tidy
    $ go mod vendor
    $ go generate -run=bundle std

Fixes #49561.
Fixes #49624.
Fixes #49662.
Fixes #49905.
Fixes #49909.
Fixes #49911.

Change-Id: Ia8f432bd3ea77d24e63d46c8ed2ac8d275406b52
Reviewed-on: https://go-review.googlesource.com/c/go/+/368574
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.17] go/types: break cycles in invalid types</title>
<updated>2021-12-01T23:34:46Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2021-10-06T16:33:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=66007e5cfc9e151485791d440b7e67d44af1b29f'/>
<id>urn:sha1:66007e5cfc9e151485791d440b7e67d44af1b29f</id>
<content type='text'>
This is a partial port of CL 354329 from types2 to go/types.
It contains an adjustment to type.go to deal with possibly
invalid type bounds.

Fixes #48825.
For #48819.

Change-Id: I9efdcdbfa6432f3cee64d924a4c67ecc6793cf86
Reviewed-on: https://go-review.googlesource.com/c/go/+/354349
Trust: Robert Griesemer &lt;gri@golang.org&gt;
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/368456
Run-TryBot: Robert Griesemer &lt;gri@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.17] net/http: do not send Transfer-Encoding: identity in responses</title>
<updated>2021-12-01T22:10:49Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2021-10-27T21:03:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3c50f2739136bb4a6ff529c6ec975723a047a741'/>
<id>urn:sha1:3c50f2739136bb4a6ff529c6ec975723a047a741</id>
<content type='text'>
Server handlers may set a "Transfer-Encoding: identity" header on
responses to disable chunking, but this header should not be sent
on the wire.

For #49194.
Fixes #49568.

Change-Id: I46a9e3b8ff9d93edd7d1c34d264fc309fa322ad5
Reviewed-on: https://go-review.googlesource.com/c/go/+/359176
Trust: Damien Neil &lt;dneil@google.com&gt;
Run-TryBot: Damien Neil &lt;dneil@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
(cherry picked from commit b69b2f63d65609b400b4a40ae01e4a48638f050f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/368087
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
</feed>
