<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.21.3</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.21.3</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.21.3'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2023-10-10T16:31:03Z</updated>
<entry>
<title>[release-branch.go1.21] go1.21.3</title>
<updated>2023-10-10T16:31:03Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2023-10-10T16:29:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=883f062fc0a097bf561030ad453fd3e300896975'/>
<id>urn:sha1:883f062fc0a097bf561030ad453fd3e300896975</id>
<content type='text'>
Change-Id: Icdde32852b305006d7064cfe8bbe143128191842
Reviewed-on: https://go-review.googlesource.com/c/go/+/534337
TryBot-Bypass: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Commit-Queue: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] net/http: regenerate h2_bundle.go</title>
<updated>2023-10-10T16:10:13Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2023-10-06T21:00:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=24ae2d927285c697440fdde3ad7f26028354bcf3'/>
<id>urn:sha1:24ae2d927285c697440fdde3ad7f26028354bcf3</id>
<content type='text'>
Pull in a security fix from x/net/http2:
http2: limit maximum handler goroutines to MaxConcurrentStreamso

For #63417
Fixes #63427
Fixes CVE-2023-39325

Change-Id: I70626734e6d56edf508f27a5b055ddf96d806eeb
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2047402
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Run-TryBot: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Ian Cottrell &lt;iancottrell@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/534235
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Damien Neil &lt;dneil@google.com&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;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] go1.21.2</title>
<updated>2023-10-05T19:06:58Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2023-10-05T18:36:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=26b5783b72376acd0386f78295e678b9a6bff30e'/>
<id>urn:sha1:26b5783b72376acd0386f78295e678b9a6bff30e</id>
<content type='text'>
Change-Id: Ie06bc8d8e8e170f13ed938a33038931513eaf067
Reviewed-on: https://go-review.googlesource.com/c/go/+/533238
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/compile: use absolute file name in isCgo check</title>
<updated>2023-10-05T18:07:27Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2023-09-20T23:16:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2ddfc04d12da7028334ab4f8effbc3a78b92d9d2'/>
<id>urn:sha1:2ddfc04d12da7028334ab4f8effbc3a78b92d9d2</id>
<content type='text'>
For #23672
Updates #63211
Fixes #63214
Fixes CVE-2023-39323

Change-Id: I4586a69e1b2560036afec29d53e53cf25e6c7352
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2032884
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
(cherry picked from commit 9b19e751918dd218035811b1ef83a8c2693b864a)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/2037958
Reviewed-by: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Run-TryBot: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/533215
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@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/compile: absorb InvertFlags into Noov comparisons</title>
<updated>2023-09-25T15:53:16Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2023-09-06T20:06:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a15ef1bb0f2b267a56130ae36c2ef1df4fda2131'/>
<id>urn:sha1:a15ef1bb0f2b267a56130ae36c2ef1df4fda2131</id>
<content type='text'>
Unfortunately, there isn't a single op that provides the resulting
computation.
At least, I couldn't find one.

Fixes #62506

Change-Id: I236f3965b827aaeb3d70ef9fe89be66b116494f5
Reviewed-on: https://go-review.googlesource.com/c/go/+/526276
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
(cherry picked from commit fb5bdb4cc94d23209d77a73c4148b3f9fbb10173)
Reviewed-on: https://go-review.googlesource.com/c/go/+/526521
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/compile: reset memcombine correctly between basic blocks</title>
<updated>2023-09-25T13:05:39Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2023-09-12T23:15:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=41d71a5afa409d007b82b9764afa1026abbb7099'/>
<id>urn:sha1:41d71a5afa409d007b82b9764afa1026abbb7099</id>
<content type='text'>
Not sure why this bug didn't cause a complete failure, but it
certainly makes for doing a lot more work than is necessary.

Fixes #62668

Change-Id: If0be4acb6eafc3d7eeb42d2f4263c21b4e6e1c7d
Reviewed-on: https://go-review.googlesource.com/c/go/+/527699
Reviewed-by: David Chase &lt;drchase@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
(cherry picked from commit 08cdfd06ed1ca21f3b8c95361506ab94c429b622)
Reviewed-on: https://go-review.googlesource.com/c/go/+/528795
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.21] runtime: always lock OS thread in debugcall</title>
<updated>2023-09-25T13:03:10Z</updated>
<author>
<name>Michael Anthony Knyszek</name>
<email>mknyszek@google.com</email>
</author>
<published>2023-08-03T20:53:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0b6b0a275af2c60b922bf592833c47633bd8b6e5'/>
<id>urn:sha1:0b6b0a275af2c60b922bf592833c47633bd8b6e5</id>
<content type='text'>
Right now debuggers like Delve rely on the new goroutine created to run
a debugcall function to run on the same thread it started on, up until
it hits itself with a SIGINT as part of the debugcall protocol.

That's all well and good, except debugCallWrap1 isn't particularly
careful about not growing the stack. For example, if the new goroutine
happens to have a stale preempt flag, then it's possible a stack growth
will cause a roundtrip into the scheduler, possibly causing the
goroutine to switch to another thread.

Previous attempts to just be more careful around debugCallWrap1 were
helpful, but insufficient. This change takes everything a step further
and always locks the debug call goroutine and the new goroutine it
creates to the OS thread.

For #61732.
Fixes #62509.

Change-Id: I038f3a4df30072833e27e6a5a1ec01806a32891f
Reviewed-on: https://go-review.googlesource.com/c/go/+/515637
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Alessandro Arzilli &lt;alessandro.arzilli@gmail.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
(cherry picked from commit d9a4b24a1775c4c5baa4ce3005cb5af61346198e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/526576
</content>
</entry>
<entry>
<title>[release-branch.go1.21] runtime: increase g0 stack size in non-cgo case</title>
<updated>2023-09-22T18:58:01Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2023-09-08T16:14:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cd671a1180441309e88c7113c86157e91888ded7'/>
<id>urn:sha1:cd671a1180441309e88c7113c86157e91888ded7</id>
<content type='text'>
Currently, for non-cgo programs, the g0 stack size is 8 KiB on
most platforms. With PGO which could cause aggressive inlining in
the runtime, the runtime stack frames are larger and could
overflow the 8 KiB g0 stack. Increase it to 16 KiB. This is only
one per OS thread, so it shouldn't increase memory use much.

Updates #62120.
Updates #62489.
Fixes #62537.

Change-Id: I565b154517021f1fd849424dafc3f0f26a755cac
Reviewed-on: https://go-review.googlesource.com/c/go/+/526995
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 c6d550a6683cebb2a11d7fa91823edf7db1d58a5)
Reviewed-on: https://go-review.googlesource.com/c/go/+/527055
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/link: suppress -bind_at_load deprecation warning for ld-prime</title>
<updated>2023-09-21T22:22:44Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2023-07-10T22:50:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fc57cc31a0981775bdbb438338ad036b05b03b60'/>
<id>urn:sha1:fc57cc31a0981775bdbb438338ad036b05b03b60</id>
<content type='text'>
ld-prime emits a deprecation warning for -bind_at_load. The flag
is needed for plugins to not deadlock (#38824) when linking with
older darwin linker. It is supposedly not needed with newer linker
when chained fixups are used. For now, we always pass it, and
suppress the warning.

Updates #61229.
For #62598.

Change-Id: I4b8a6f864a460c40dc38adbb533f664f7fd5343c
Reviewed-on: https://go-review.googlesource.com/c/go/+/508696
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Cherry Mui &lt;cherryyz@google.com&gt;
(cherry picked from commit 040dbf9c181a0e3ea9f7bd3ebe3f75acdc878aaf)
Reviewed-on: https://go-review.googlesource.com/c/go/+/527817
</content>
</entry>
<entry>
<title>[release-branch.go1.21] cmd/link: disable DWARF by default in c-shared mode on darwin</title>
<updated>2023-09-21T22:21:24Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2023-09-12T19:27:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9bec49cf52a6f729ec1f9cfb4aca53eb4ff30833'/>
<id>urn:sha1:9bec49cf52a6f729ec1f9cfb4aca53eb4ff30833</id>
<content type='text'>
[This is a (manual) backport of CL 527415 to Go 1.21.]

Currently, linking a Go c-shared object with C code using Apple's
new linker, it fails with

% cc a.c go.so
ld: segment '__DWARF' filesize exceeds vmsize in 'go.so'

Apple's new linker has more checks for unmapped segments. It is
very hard to make it accept a Mach-O shared object with an
additional DWARF segment.

We may want to stop combinding DWARF into the shared object (see
also #62577). For now, disable DWARF by default in c-shared mode
on darwin.

Updates #61229.
For #62598.

Change-Id: I525987b7fe1a4e64571327cb4696f98cc7b419a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/527816
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Run-TryBot: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
