<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.22.11</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.22.11</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.22.11'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-01-16T20:07:58Z</updated>
<entry>
<title>[release-branch.go1.22] go1.22.11</title>
<updated>2025-01-16T20:07:58Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2025-01-16T19:41:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f07288435495dccb05217b6012ecb2b7a5b521ab'/>
<id>urn:sha1:f07288435495dccb05217b6012ecb2b7a5b521ab</id>
<content type='text'>
Change-Id: I7ab7e0219977de1fc313a684c48b78fd0219de81
Reviewed-on: https://go-review.googlesource.com/c/go/+/643156
Reviewed-by: Michael Pratt &lt;mpratt@google.com&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.22] net/http: persist header stripping across repeated redirects</title>
<updated>2025-01-16T19:07:07Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2024-11-22T20:34:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b72d56f98d6620ebe07626dca4bb67ea8e185379'/>
<id>urn:sha1:b72d56f98d6620ebe07626dca4bb67ea8e185379</id>
<content type='text'>
When an HTTP redirect changes the host of a request, we drop
sensitive headers such as Authorization from the redirected request.
Fix a bug where a chain of redirects could result in sensitive
headers being sent to the wrong host:

  1. request to a.tld with Authorization header
  2. a.tld redirects to b.tld
  3. request to b.tld with no Authorization header
  4. b.tld redirects to b.tld
  3. request to b.tld with Authorization header restored

Thanks to Kyle Seely for reporting this issue.

Fixes #70530
For #71210
Fixes CVE-2024-45336

Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/1641
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Commit-Queue: Roland Shoemaker &lt;bracewell@google.com&gt;
Change-Id: Id7b1e3c90345566b8ee1a51f65dbb179da6eb427
Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/1765
Reviewed-on: https://go-review.googlesource.com/c/go/+/643106
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] crypto/x509: properly check for IPv6 hosts in URIs</title>
<updated>2025-01-16T19:07:05Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>bracewell@google.com</email>
</author>
<published>2024-12-09T19:31:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=19d21034157ba69d0f54318a9867d9b08730efcb'/>
<id>urn:sha1:19d21034157ba69d0f54318a9867d9b08730efcb</id>
<content type='text'>
When checking URI constraints, use netip.ParseAddr, which understands
zones, unlike net.ParseIP which chokes on them. This prevents zone IDs
from mistakenly satisfying URI constraints.

Thanks to Juho Forsén of Mattermost for reporting this issue.

For #71156
Fixes #71207
Fixes CVE-2024-45341

Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/1700
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Change-Id: I1d97723e0f29fcf1404fb868ba0495282da70f6e
Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/1780
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/643105
TryBot-Bypass: Michael Knyszek &lt;mknyszek@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
Auto-Submit: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] runtime: hold traceAcquire across casgstatus in injectglist</title>
<updated>2025-01-08T17:58:22Z</updated>
<author>
<name>Michael Anthony Knyszek</name>
<email>mknyszek@google.com</email>
</author>
<published>2024-12-23T17:21:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ae9996f96510b105f478a426cd83cfac7b83c4e3'/>
<id>urn:sha1:ae9996f96510b105f478a426cd83cfac7b83c4e3</id>
<content type='text'>
Currently injectglist emits all the trace events before actually calling
casgstatus on each goroutine. This is a problem, since tracing can
observe an inconsistent state (gstatus does not match tracer's 'emitted
an event' state).

This change fixes the problem by having injectglist do what every other
scheduler function does, and that's wrap each call to casgstatus in
traceAcquire/traceRelease.

For #70883.
Fixes #71146.

Change-Id: I857e96cec01688013597e8efc0c4c3d0b72d3a70
Reviewed-on: https://go-review.googlesource.com/c/go/+/638558
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
(cherry picked from commit f025d19e7b3f0c66242760c213cc2b54cb100f69)
Reviewed-on: https://go-review.googlesource.com/c/go/+/641356
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] crypto/tls: fix Config.Time in tests using expired certificates</title>
<updated>2025-01-08T17:33:51Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2025-01-02T00:34:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=223260bc63bfc1a3120face5bbc49285f6c32357'/>
<id>urn:sha1:223260bc63bfc1a3120face5bbc49285f6c32357</id>
<content type='text'>
Updates #71077
Fixes #71103

Change-Id: I6a6a465685f3bd50a5bb35a160f87b59b74fa6af
Reviewed-on: https://go-review.googlesource.com/c/go/+/639655
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Filippo Valsorda &lt;filippo@golang.org&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Joel Sing &lt;joel@sing.id.au&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/640237
</content>
</entry>
<entry>
<title>[release-branch.go1.22] go1.22.10</title>
<updated>2024-12-03T18:00:04Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2024-12-03T17:22:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8f3f22eef807250155301822a8960afec160cc02'/>
<id>urn:sha1:8f3f22eef807250155301822a8960afec160cc02</id>
<content type='text'>
Change-Id: I5e9be77389bcb215c114013c169841cfbcaa9550
Reviewed-on: https://go-review.googlesource.com/c/go/+/633235
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Veronica Silina &lt;veronicasilina@google.com&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] runtime: reserve 4kB for system stack on windows-386</title>
<updated>2024-11-27T19:14:30Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2024-11-12T22:23:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6d7a95abcac5192f539c34ea96b3b3de6b933b87'/>
<id>urn:sha1:6d7a95abcac5192f539c34ea96b3b3de6b933b87</id>
<content type='text'>
The failures in #70288 are consistent with and strongly imply
stack corruption during fault handling, and debug prints show
that the Go code run during fault handling is running about
300 bytes above the bottom of the goroutine stack.
That should be okay, but that implies the DLL code that called
Go's handler was running near the bottom of the stack too,
and maybe it called other deeper things before or after the
Go handler and smashed the stack that way.

stackSystem is already 4096 bytes on amd64;
making it match that on 386 makes the flaky failures go away.
It's a little unsatisfying not to be able to say exactly what is
overflowing the stack, but the circumstantial evidence is
very strong that it's Windows.

For #70288.
Fixes #70474.

Change-Id: Ife89385873d5e5062a71629dbfee40825edefa49
Reviewed-on: https://go-review.googlesource.com/c/go/+/627375
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
(cherry picked from commit 7eeb0a188eb644486da9f77bae0375d91433d0bf)
Reviewed-on: https://go-review.googlesource.com/c/go/+/632197
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Veronica Silina &lt;veronicasilina@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] syscall: mark SyscallN as noescape</title>
<updated>2024-11-20T18:07:06Z</updated>
<author>
<name>qmuntal</name>
<email>quimmuntal@gmail.com</email>
</author>
<published>2024-11-05T15:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6f05fa7a4f632fee7fadada8d31cf8755c709610'/>
<id>urn:sha1:6f05fa7a4f632fee7fadada8d31cf8755c709610</id>
<content type='text'>
syscall.SyscallN is implemented by runtime.syscall_syscalln, which makes
sure that the variadic argument doesn't escape.

There is no need to worry about the lifetime of the elements of the
variadic argument, as the compiler will keep them live until the
function returns.

For #70197
Fixes #70201

Change-Id: I12991f0be12062eea68f2b103fa0a794c1b527eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/625297
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Alex Brainman &lt;alex.brainman@gmail.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
(cherry picked from commit 7fff741016c8157e107cce8013ee3ca621725384)
Reviewed-on: https://go-review.googlesource.com/c/go/+/630215
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Quim Muntal &lt;quimmuntal@gmail.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] time: accept "+01" in TestLoadFixed on OpenBSD</title>
<updated>2024-11-19T18:02:54Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2024-11-04T22:36:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3355db96902ebc2403e08de9ced8a495f29ec870'/>
<id>urn:sha1:3355db96902ebc2403e08de9ced8a495f29ec870</id>
<content type='text'>
This stops the test from failing with a known failure mode, and
creates time to look into what the next steps should be, if any.

For #69840.
Fixes #70238.

Change-Id: I060903d256ed65c5dfcd70ae76eb361cab63186f
Reviewed-on: https://go-review.googlesource.com/c/go/+/625197
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Eric Grosse &lt;grosse@gmail.com&gt;
(cherry picked from commit bea9b91f0f4be730c880edbe496ab25c9b742cad)
Reviewed-on: https://go-review.googlesource.com/c/go/+/627416
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Commit-Queue: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] go1.22.9</title>
<updated>2024-11-06T22:47:22Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2024-11-06T22:21:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8af39d30a4c4cf68d566345f26224c191960d9b0'/>
<id>urn:sha1:8af39d30a4c4cf68d566345f26224c191960d9b0</id>
<content type='text'>
Change-Id: I3255f216bc6976f9b5a1b1fc4f654caa2d2bc342
Reviewed-on: https://go-review.googlesource.com/c/go/+/626136
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
</feed>
