<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.22.12</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.22.12</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.22.12'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-02-04T16:39:49Z</updated>
<entry>
<title>[release-branch.go1.22] go1.22.12</title>
<updated>2025-02-04T16:39:49Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2025-02-04T16:12:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5817e650946aaa0ac28956de96b3f9aa1de4b299'/>
<id>urn:sha1:5817e650946aaa0ac28956de96b3f9aa1de4b299</id>
<content type='text'>
Change-Id: Ib985698fba4e6dab8dc645b115e21a9717bd122c
Reviewed-on: https://go-review.googlesource.com/c/go/+/646479
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Bypass: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] crypto/internal/fips140/nistec: make p256NegCond constant time on ppc64le</title>
<updated>2025-01-31T17:38:05Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>roland@golang.org</email>
</author>
<published>2025-01-22T00:03:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0cc45e7ca668b103c1055ae84402ad3f3425dd56'/>
<id>urn:sha1:0cc45e7ca668b103c1055ae84402ad3f3425dd56</id>
<content type='text'>
Remove the branching instruction from p256NegCond which made it variable
time. The technique used matches that used in p256MovCond.

Fixes #71383
Fixes #71422
Fixes CVE-2025-22866

Change-Id: Ibc2a46814d856cbbdaf6cc0c5a415ed5d42ca793
Reviewed-on: https://go-review.googlesource.com/c/go/+/643735
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
Reviewed-by: Paul Murphy &lt;murp@ibm.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
(cherry picked from commit 6fc23a3cff5e38ff72923fee50f51254dcdc6e93)
Reviewed-on: https://go-review.googlesource.com/c/go/+/645535
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
TryBot-Bypass: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] cmd/go/internal/modfetch: do not trust server to send all tags in shallow fetch</title>
<updated>2025-01-17T16:30:44Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2025-01-14T04:00:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c3c6a50095ab207e845776ddec7c28d2a1810ffe'/>
<id>urn:sha1:c3c6a50095ab207e845776ddec7c28d2a1810ffe</id>
<content type='text'>
Newer git versions (at least git 2.47.1) do not send all the matching tags
for a shallow fetch of a specific hash anymore. The go command assumes
that git servers do this. Since that assumption is broken, use the local
copy of the remote refs list to augment the tags sent by the server.
This makes the cmd/go/internal/modfetch tests pass again with newer git.

For #71261
Fixes #71262

Change-Id: I9fd4f3fd7beeb68a522938599f8f3acd887d0b26
Reviewed-on: https://go-review.googlesource.com/c/go/+/642437
Reviewed-by: Michael Matloob &lt;matloob@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
(cherry picked from commit bd80d8956f3062d2b2bff2d7da6b879dfa909f12)
Reviewed-on: https://go-review.googlesource.com/c/go/+/642695
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.22] cmd/compile: fix write barrier coalescing</title>
<updated>2025-01-17T15:41:15Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2025-01-11T01:33:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e0a01acd041f24485667283170c10c3ee9a49d02'/>
<id>urn:sha1:e0a01acd041f24485667283170c10c3ee9a49d02</id>
<content type='text'>
We can't coalesce a non-WB store with a subsequent Move, as the
result of the store might be the source of the move.

There's a simple codegen test. Not sure how we might do a real test,
as all the repro's I've come up with are very expensive and unreliable.

Fixes #71229

Change-Id: If18bf181a266b9b90964e2591cd2e61a7168371c
Reviewed-on: https://go-review.googlesource.com/c/go/+/642197
Reviewed-by: Keith Randall &lt;khr@google.com&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;
Reviewed-on: https://go-review.googlesource.com/c/go/+/642499
</content>
</entry>
<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>
</feed>
