<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.25.5</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.25.5</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.25.5'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-12-02T16:04:24Z</updated>
<entry>
<title>[release-branch.go1.25] go1.25.5</title>
<updated>2025-12-02T16:04:24Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2025-12-02T16:00:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fefb02adf45c4bcc879bd406a8d61f2a292c26a9'/>
<id>urn:sha1:fefb02adf45c4bcc879bd406a8d61f2a292c26a9</id>
<content type='text'>
Change-Id: If484d63fd8cc5ea0872780019535368afcf4ec5b
Reviewed-on: https://go-review.googlesource.com/c/go/+/725842
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Mark Freeman &lt;markfreeman@google.com&gt;
TryBot-Bypass: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] crypto/x509: prevent HostnameError.Error() from consuming excessive resource</title>
<updated>2025-12-02T15:48:36Z</updated>
<author>
<name>Nicholas S. Husin</name>
<email>nsh@golang.org</email>
</author>
<published>2025-11-24T19:56:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f7bce4bd6f7b13de8d9f06f7f262e3b60381e7e9'/>
<id>urn:sha1:f7bce4bd6f7b13de8d9f06f7f262e3b60381e7e9</id>
<content type='text'>
Constructing HostnameError.Error() takes O(N^2) runtime due to using a
string concatenation in a loop. Additionally, there is no limit on how
many names are included in the error message. As a result, a malicious
attacker could craft a certificate with an infinite amount of names to
unfairly consume resource.

To remediate this, we will now use strings.Builder to construct the
error message, preventing O(N^2) runtime. When a certificate has 100 or
more names, we will also not print each name individually.

Thanks to Philippe Antoine (Catena cyber) for reporting this issue.

Updates #76445
Fixes #76461
Fixes CVE-2025-61729

Change-Id: I6343776ec3289577abc76dad71766c491c1a7c81
Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/3000
Reviewed-by: Neal Patel &lt;nealpatel@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/3200
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/725800
TryBot-Bypass: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Mark Freeman &lt;markfreeman@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] crypto/x509: excluded subdomain constraints preclude wildcard SANs</title>
<updated>2025-11-25T20:14:08Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>bracewell@google.com</email>
</author>
<published>2025-11-24T16:46:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=287017acebd27203aa3218abbd11ed65c2280cf8'/>
<id>urn:sha1:287017acebd27203aa3218abbd11ed65c2280cf8</id>
<content type='text'>
When evaluating name constraints in a certificate chain, the presence of
an excluded subdomain constraint (e.g., excluding "test.example.com")
should preclude the use of a wildcard SAN (e.g., "*.example.com").

Fixes #76442
Fixes #76464
Fixes CVE-2025-61727

Change-Id: I42a0da010cb36d2ec9d1239ae3f61cf25eb78bba
Reviewed-on: https://go-review.googlesource.com/c/go/+/724400
Reviewed-by: Nicholas Husin &lt;nsh@golang.org&gt;
Reviewed-by: Nicholas Husin &lt;husin@google.com&gt;
Reviewed-by: Daniel McCarney &lt;daniel@binaryparadox.net&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Neal Patel &lt;nealpatel@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] mime: parse media types that contain braces</title>
<updated>2025-11-25T16:32:36Z</updated>
<author>
<name>Julien Cretel</name>
<email>jub0bsinthecloud@gmail.com</email>
</author>
<published>2025-11-10T21:20:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e1ce1bfa7f0d44e864d8ea6d6cec62c09668ad66'/>
<id>urn:sha1:e1ce1bfa7f0d44e864d8ea6d6cec62c09668ad66</id>
<content type='text'>
This CL fixes a bug introduced by CL 666655: isTokenChar would no longer
(but should) report true for '{' and '}'.

Fixes #76245

Change-Id: Ifc0953c30d7cae7bfba9bc4b6bb6951a83c52576
GitHub-Last-Rev: c91a75c2c8778a9a8343c6bb4fa89eb1f978059f
GitHub-Pull-Request: golang/go#76243
Reviewed-on: https://go-review.googlesource.com/c/go/+/719380
Reviewed-by: Sean Liao &lt;sean@liao.dev&gt;
Reviewed-by: Jorropo &lt;jorropo.pgm@gmail.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@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;
(cherry picked from commit c761b26b56eec36390885e5373aab2fd17dc67ef)
Reviewed-on: https://go-review.googlesource.com/c/go/+/721000
Reviewed-by: Junyang Shao &lt;shaojunyang@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] internal/syscall/windows: fix ReOpenFile sentinel error value</title>
<updated>2025-11-25T16:31:41Z</updated>
<author>
<name>qmuntal</name>
<email>quimmuntal@gmail.com</email>
</author>
<published>2025-11-03T15:29:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=433c01e94efe72f985096839d0631103b3163be6'/>
<id>urn:sha1:433c01e94efe72f985096839d0631103b3163be6</id>
<content type='text'>
ReOpenFile is documented to return INVALID_HANDLE_VALUE on error,
but the previous definition was checking for 0 instead.

ReOpenFile was added to the go1.25 release branch in CL 715360. This new CL amends it.

Fixes #76360
Updates #75989

Change-Id: Idec5e75e40b9f6c409e068d63a9b606781e80a46
Reviewed-on: https://go-review.googlesource.com/c/go/+/717320
Auto-Submit: Quim Muntal &lt;quimmuntal@gmail.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Alex Brainman &lt;alex.brainman@gmail.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
(cherry picked from commit CL 717320)
Reviewed-on: https://go-review.googlesource.com/c/go/+/718000
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] go1.25.4</title>
<updated>2025-11-05T19:01:55Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2025-11-05T18:58:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f2cd93aa0505465c1d30201c806b6d4d3481c5fa'/>
<id>urn:sha1:f2cd93aa0505465c1d30201c806b6d4d3481c5fa</id>
<content type='text'>
Change-Id: Iddc4427830693f0b518cb9766d6b1b552b97b79e
Reviewed-on: https://go-review.googlesource.com/c/go/+/718064
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
TryBot-Bypass: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] encoding/pem: properly calculate end indexes</title>
<updated>2025-10-29T16:22:37Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>roland@golang.org</email>
</author>
<published>2025-10-23T15:16:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=83885f3c22242f3e4499bb5b12892bc7ba11a74b'/>
<id>urn:sha1:83885f3c22242f3e4499bb5b12892bc7ba11a74b</id>
<content type='text'>
When a block is missing the END line trailer, calculate the indexes of
the end and end trailer _before_ continuing the loop, making the
reslicing at the start of the loop work as expected.

Fixes #76029

Change-Id: If45c8cb473315623618f02cc7609f517a72d232d
Reviewed-on: https://go-review.googlesource.com/c/go/+/714200
Auto-Submit: Roland Shoemaker &lt;roland@golang.org&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;
(cherry picked from commit 839da71f8907ac4434299db4353db31835c916df)
Reviewed-on: https://go-review.googlesource.com/c/go/+/714661
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] cmd/compile: don't optimize away a panicing interface comparison</title>
<updated>2025-10-29T16:16:38Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2025-10-22T17:13:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5ba37a3677d322c442ab77f94d4f92f1acc67dba'/>
<id>urn:sha1:5ba37a3677d322c442ab77f94d4f92f1acc67dba</id>
<content type='text'>
We can't do direct pointer comparisons if the type is not a
comparable type.

Fixes #76010

Change-Id: I1687acff21832d2c2e8f3b875e7b5ec125702ef3
Reviewed-on: https://go-review.googlesource.com/c/go/+/713840
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-by: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/715720
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] os: support deleting read-only files in RemoveAll on older Windows versions</title>
<updated>2025-10-28T20:58:08Z</updated>
<author>
<name>qmuntal</name>
<email>quimmuntal@gmail.com</email>
</author>
<published>2025-10-21T14:14:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8097b1915f617167f3b12b03e78a23859d256eb6'/>
<id>urn:sha1:8097b1915f617167f3b12b03e78a23859d256eb6</id>
<content type='text'>
The Windows implementation of RemoveAll supports deleting read-only
files only on file systems that supports POSIX semantics and on
newer Windows versions (Windows 10 RS5 and latter).

For all the other cases, the read-only bit was not clearer before
deleting read-only files, so they fail to delete.

Note that this case was supported prior to CL 75922, which landed on
Go 1.25.

For #75922
Fixes #75989

Change-Id: Id6e6477f42e1952d08318ca3e4ab7c1648969f66
Reviewed-on: https://go-review.googlesource.com/c/go/+/713480
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-by: Damien Neil &lt;dneil@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
(cherry picked from commit b31dc77ceab962c0f4f5e4a9fc5e1a403fbd2d7c)
Reviewed-on: https://go-review.googlesource.com/c/go/+/715360
Auto-Submit: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.25] Revert "crypto/internal/fips140/subtle: add assembly implementation of xorBytes for mips64x"</title>
<updated>2025-10-28T16:42:55Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2025-10-07T17:15:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4942c74d04295c72e293b4a67200513b9a36f99d'/>
<id>urn:sha1:4942c74d04295c72e293b4a67200513b9a36f99d</id>
<content type='text'>
This reverts commit 49d6777d87a0abb3eda032da95eff024156835f7.

Reason for revert: doesn't handle unaligned accesses correctly

Fixes #75790

Change-Id: Ia272245a6a2a91b305d411207430bad660ee355b
Reviewed-on: https://go-review.googlesource.com/c/go/+/709757
Reviewed-by: Keith Randall &lt;khr@google.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;
(cherry picked from commit a1661e776f57602b4d4470389a0246f9784fd722)
Reviewed-on: https://go-review.googlesource.com/c/go/+/709798
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
</feed>
