<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.21.9</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.21.9</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.21.9'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2024-04-03T15:35:16Z</updated>
<entry>
<title>[release-branch.go1.21] go1.21.9</title>
<updated>2024-04-03T15:35:16Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2024-04-03T15:17:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d8392e69973a64d96534d544d1f8ac2defc1bc64'/>
<id>urn:sha1:d8392e69973a64d96534d544d1f8ac2defc1bc64</id>
<content type='text'>
Change-Id: I6c69376d434dcf310336a0344051037bf58a4cf7
Reviewed-on: https://go-review.googlesource.com/c/go/+/576117
Commit-Queue: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
TryBot-Bypass: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] net/http: update bundled golang.org/x/net/http2</title>
<updated>2024-04-03T15:10:22Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2024-03-28T23:49:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ae5913347d15cf7d1f218916c22717e5739a9ea3'/>
<id>urn:sha1:ae5913347d15cf7d1f218916c22717e5739a9ea3</id>
<content type='text'>
Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.

Fixes CVE-2023-45288
For #65051
Fixes #65387

Change-Id: I17da6da2fe0dd70062b49f94377875acb34829a1
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2197267
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Run-TryBot: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/576075
TryBot-Bypass: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Commit-Queue: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] all: update golang.org/x/net</title>
<updated>2024-03-28T19:12:36Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2024-03-27T22:04:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=30d855066989145fc1415dc0f73cfe09d456e792'/>
<id>urn:sha1:30d855066989145fc1415dc0f73cfe09d456e792</id>
<content type='text'>
Pulls in one HTTP/2 fix:

	0b0455d2c9 http2: reject DATA frames after 1xx and before final headers

For golang/go#65927
Fixes golang/go#66254

Change-Id: I257b2634f63e8c6039c44dea24c345043c23c8d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/574916
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] go/types, types2: don't do version checks for embedded types of imported interfaces</title>
<updated>2024-03-27T19:24:11Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2024-03-12T16:31:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=efb7cc4275d20628d670493997c8952c49391f6e'/>
<id>urn:sha1:efb7cc4275d20628d670493997c8952c49391f6e</id>
<content type='text'>
[This is a re-apply of CL 571075]

Imported interfaces don't have position information for embedded types.
When computing the type set of such interfaces, doing a version check
may fail because it will rely on the Go version of the current package.

We must not do a version check for features of types from imported
packages - those types have already been typechecked and are "correct".
The version check code does look at packages to avoid such incorrect
version checks, but we don't have the package information available
in an interface type (divorced from its object).

Instead, for now rely on the fact that imported interfaces don't have
position information for embedded types: if the position is unknown,
don't do a version check.

We may want to assert that positions are known in all other cases,
but since this is an older release, don't add such additional changes
to avoid introducing other bugs.

Fixes #66326.
Updates #66064.

Change-Id: I158cf51aa382f85d612ab958ba4b591de1c5fdb2
Reviewed-on: https://go-review.googlesource.com/c/go/+/574736
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/internal/obj/ppc64: don't modify runtime.elf_* symbols</title>
<updated>2024-03-26T19:16:20Z</updated>
<author>
<name>Paul E. Murphy</name>
<email>murp@ibm.com</email>
</author>
<published>2024-03-12T20:00:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0bd1a2289d0e37ec5015ce3c05a5873c3a6da3e5'/>
<id>urn:sha1:0bd1a2289d0e37ec5015ce3c05a5873c3a6da3e5</id>
<content type='text'>
The runtime.elf_* symbols are assembly functions which are used
to support the gcc/llvm -Os option when used with cgo.

When compiling Go for shared code, we attempt to strip out the
TOC regenation code added by the go assembler for these symbols.

This causes the symbol to no longer appear as an assembly
function which causes problems later on when handling other
implicit symbols.

Avoid adding a TOC regeneration prologue to these functions
to avoid this issue.

Fixes #66411

Change-Id: Icbf8e4438d177082a57bb228e39b232e7a0d7ada
Reviewed-on: https://go-review.googlesource.com/c/go/+/571835
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Run-TryBot: Paul Murphy &lt;murp@ibm.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Lynn Boger &lt;laboger@linux.vnet.ibm.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/572876
</content>
</entry>
<entry>
<title>[release-branch.go1.21] Revert "go/types, types2: don't do version checks for embedded types of imported interfaces"</title>
<updated>2024-03-13T19:10:25Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2024-03-13T18:35:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=140b37d659ab7c12f9be655d31690dfa5ff7b3c0'/>
<id>urn:sha1:140b37d659ab7c12f9be655d31690dfa5ff7b3c0</id>
<content type='text'>
This reverts CL 571075.

Reason for revert: We might want to do a security-only minor release. Back off the release branch to a clean state from the previous minor release. Sorry for the inconvenience.

Change-Id: Ifc8c7e00e6faea3aa547b883eed44180ddb447de
Reviewed-on: https://go-review.googlesource.com/c/go/+/571355
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] go/types, types2: don't do version checks for embedded types of imported interfaces</title>
<updated>2024-03-12T20:30:58Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2024-03-12T16:31:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6d229889d864c9f7a02fb107952832f508f9b40d'/>
<id>urn:sha1:6d229889d864c9f7a02fb107952832f508f9b40d</id>
<content type='text'>
Imported interfaces don't have position information for embedded types.
When computing the type set of such interfaces, doing a version check
may fail because it will rely on the Go version of the current package.

We must not do a version check for features of types from imported
packages - those types have already been typechecked and are "correct".
The version check code does look at packages to avoid such incorrect
version checks, but we don't have the package information available
in an interface type (divorced from its object).

Instead, for now rely on the fact that imported interfaces don't have
position information for embedded types: if the position is unknown,
don't do a version check.

We may want to assert that positions are known in all other cases,
but since this is an older release, don't add such additional changes
to avoid introducing other bugs.

Fixes #66064.

Change-Id: I773d57e5410c3d4a911ab3e018b3233c2972b3c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/571075
Reviewed-by: Robert Findley &lt;rfindley@google.com&gt;
Auto-Submit: Robert Griesemer &lt;gri@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Robert Griesemer &lt;gri@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] go1.21.8</title>
<updated>2024-03-05T17:38:51Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2024-03-05T16:59:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=63992defa823418e8ad91a39777cd671cff89894'/>
<id>urn:sha1:63992defa823418e8ad91a39777cd671cff89894</id>
<content type='text'>
Change-Id: I44203158172ca3e66f8ce4ab84f54c9247dacb28
Reviewed-on: https://go-review.googlesource.com/c/go/+/569256
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] net/textproto, mime/multipart: avoid unbounded read in MIME header</title>
<updated>2024-03-05T16:51:36Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2024-01-16T23:37:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bf80213b121074f4ad9b449410a4d13bae5e9be0'/>
<id>urn:sha1:bf80213b121074f4ad9b449410a4d13bae5e9be0</id>
<content type='text'>
mime/multipart.Reader.ReadForm allows specifying the maximum amount
of memory that will be consumed by the form. While this limit is
correctly applied to the parsed form data structure, it was not
being applied to individual header lines in a form.

For example, when presented with a form containing a header line
that never ends, ReadForm will continue to read the line until it
runs out of memory.

Limit the amount of data consumed when reading a header.

Fixes CVE-2023-45290
Fixes #65389
For #65383

Change-Id: I7f9264d25752009e95f6b2c80e3d76aaf321d658
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2134435
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2173776
Reviewed-by: Carlos Amedee &lt;amedee@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/569240
Auto-Submit: Michael Knyszek &lt;mknyszek@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] net/http, net/http/cookiejar: avoid subdomain matches on IPv6 zones</title>
<updated>2024-03-05T16:51:34Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2024-01-11T19:31:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=20586c0dbe03d144f914155f879fa5ee287591a1'/>
<id>urn:sha1:20586c0dbe03d144f914155f879fa5ee287591a1</id>
<content type='text'>
When deciding whether to forward cookies or sensitive headers
across a redirect, do not attempt to interpret an IPv6 address
as a domain name.

Avoids a case where a maliciously-crafted redirect to an
IPv6 address with a scoped addressing zone could be
misinterpreted as a within-domain redirect. For example,
we could interpret "::1%.www.example.com" as a subdomain
of "www.example.com".

Thanks to Juho Nurminen of Mattermost for reporting this issue.

Fixes CVE-2023-45289
Fixes #65385
For #65065

Change-Id: I8f463f59f0e700c8a18733d2b264a8bcb3a19599
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2131938
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2173775
Reviewed-by: Carlos Amedee &lt;amedee@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/569239
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Auto-Submit: Michael Knyszek &lt;mknyszek@google.com&gt;
TryBot-Bypass: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
</feed>
