<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.15.6</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.15.6</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.15.6'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2020-12-03T17:27:17Z</updated>
<entry>
<title>[release-branch.go1.15] go1.15.6</title>
<updated>2020-12-03T17:27:17Z</updated>
<author>
<name>Carlos Amedee</name>
<email>carlos@golang.org</email>
</author>
<published>2020-12-03T16:05:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9b955d2d3fcff6a5bc8bce7bafdc4c634a28e95b'/>
<id>urn:sha1:9b955d2d3fcff6a5bc8bce7bafdc4c634a28e95b</id>
<content type='text'>
Change-Id: I9e050e1463f1bc01c04d1817aef2f81a5aac4d42
Reviewed-on: https://go-review.googlesource.com/c/go/+/275132
Run-TryBot: Carlos Amedee &lt;carlos@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Trust: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/link: recompute heapPos after copyHeap</title>
<updated>2020-12-03T14:06:12Z</updated>
<author>
<name>Cherry Zhang</name>
<email>cherryyz@google.com</email>
</author>
<published>2020-11-18T00:10:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=480da601431545e3415e25515ac342c583935599'/>
<id>urn:sha1:480da601431545e3415e25515ac342c583935599</id>
<content type='text'>
Immediately after a forward Seek, the offset we're writing to is
beyond len(buf)+len(heap):

|&lt;--- buf ---&gt;|&lt;--- heap ---&gt;|
                                    ^
                                    off

If we do a copyHeap at this point, the new heapPos should not be
0:

|&lt;---------- buf -----------&gt;|&lt;-heap-&gt;|
                                    ^
                                    off

Recompute it.

Updates #42082
Fixes #42948

Change-Id: Icb3e4e1c7bf7d1fd3d76a2e0d7dfcb319c661534
Reviewed-on: https://go-review.googlesource.com/c/go/+/270942
Run-TryBot: Carlos Amedee &lt;carlos@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Jeremy Faller &lt;jeremy@golang.org&gt;
Trust: Cherry Zhang &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/compile: sign extend consant folding properly</title>
<updated>2020-12-03T13:58:28Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2020-11-20T21:53:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a2adbc876e9362f064afffcb51ce677e2f988c5e'/>
<id>urn:sha1:a2adbc876e9362f064afffcb51ce677e2f988c5e</id>
<content type='text'>
MOVLconst must have a properly sign-extended auxint constant.
The bit operations in these rules don't enforce that invariant.

The easiest fix is just to turn on properly typed auxint fields
(which is what fixed this issue at tip).

Fixes #42753

Change-Id: I264245fad45067a6ade65326f7fe681feb5f3739
Reviewed-on: https://go-review.googlesource.com/c/go/+/272028
Trust: Keith Randall &lt;khr@golang.org&gt;
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/compile: do not emit an extra debug_line entry for the end of seq addr</title>
<updated>2020-11-23T19:42:26Z</updated>
<author>
<name>Alessandro Arzilli</name>
<email>alessandro.arzilli@gmail.com</email>
</author>
<published>2020-11-12T13:58:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=16ddb8bc763c33fb172d0c1bcd04d070f36f9cc8'/>
<id>urn:sha1:16ddb8bc763c33fb172d0c1bcd04d070f36f9cc8</id>
<content type='text'>
Uses DW_LNS_advance_pc directly, instead of calling putpclcdelta
because the latter will create a new debug_line entry for the end of
sequence address.

Updates #42484.
Fixes #42521.

Change-Id: Ib6355605cac101b9bf37a3b4961ab0cee678a839
Reviewed-on: https://go-review.googlesource.com/c/go/+/268937
Trust: Than McIntosh &lt;thanm@google.com&gt;
Run-TryBot: Than McIntosh &lt;thanm@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Cherry Zhang &lt;cherryyz@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/269517
</content>
</entry>
<entry>
<title>[release-branch.go1.15] internal/poll: use copy_file_range only on Linux kernel &gt;= 5.3</title>
<updated>2020-11-20T21:54:27Z</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2020-11-09T10:25:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=20f50bba49e6338793a5711dc1c6ed60e4b10df8'/>
<id>urn:sha1:20f50bba49e6338793a5711dc1c6ed60e4b10df8</id>
<content type='text'>
https://man7.org/linux/man-pages/man2/copy_file_range.2.html#VERSIONS states:

  A major rework of the kernel implementation occurred in 5.3.  Areas
  of the API that weren't clearly defined were clarified and the API
  bounds are much more strictly checked than on earlier kernels.
  Applications should target the behaviour and requirements of 5.3
  kernels.

Rather than attempting to detect the file system for source and
destination files (which means two additional statfs syscalls) and skip
copy_file_range in case of known defects (e.g. CIFS -&gt; CIFS), just
assume copy_file_range to be broken on kernels &lt; 5.3.

Fixes #42550

Change-Id: I3a531296182c1d6e341772cc9d2be5bf83e52575
Reviewed-on: https://go-review.googlesource.com/c/go/+/268338
Trust: Tobias Klauser &lt;tobias.klauser@gmail.com&gt;
Run-TryBot: Tobias Klauser &lt;tobias.klauser@gmail.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
(cherry picked from commit 1c7650aa93bd53b7df0bbb34693fc5a16d9f67af)
Reviewed-on: https://go-review.googlesource.com/c/go/+/269759
Trust: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] runtime: block signals in needm before allocating M</title>
<updated>2020-11-20T20:38:12Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2020-10-27T23:09:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=efd204ccf78e16ee6792079ba70456ed425cb9c3'/>
<id>urn:sha1:efd204ccf78e16ee6792079ba70456ed425cb9c3</id>
<content type='text'>
Otherwise, if a signal occurs just after we allocated the M,
we can deadlock if the signal handler needs to allocate an M
itself.

For #42207
Fixes #42636

Change-Id: I76f44547f419e8b1c14cbf49bf602c6e645d8c14
Reviewed-on: https://go-review.googlesource.com/c/go/+/265759
Trust: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit 368c40116434532dc0b53b72fa04788ca6742898)
Reviewed-on: https://go-review.googlesource.com/c/go/+/271847
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/go: permit CGO_LDFLAGS to appear in //go:ldflag</title>
<updated>2020-11-16T14:56:38Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2020-11-13T19:05:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=730d5f42f919f948ff2841581ecec6fe4b465aee'/>
<id>urn:sha1:730d5f42f919f948ff2841581ecec6fe4b465aee</id>
<content type='text'>
For #42565
Fixes #42567

Change-Id: If7cf39905d124dbd54dfac6a53ee38270498efed
Reviewed-on: https://go-review.googlesource.com/c/go/+/269818
Trust: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Jay Conrod &lt;jayconrod@google.com&gt;
(cherry picked from commit 782cf560db4c919790fdb476d1bbe18e5ddf5ffd)
Reviewed-on: https://go-review.googlesource.com/c/go/+/270137
</content>
</entry>
<entry>
<title>[release-branch.go1.15] all: merge release-branch.go1.15-security into release-branch.go1.15</title>
<updated>2020-11-12T20:49:20Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2020-11-12T20:49:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d8c8fd6c305cf34a569e50a8d1f69aa123f9b32f'/>
<id>urn:sha1:d8c8fd6c305cf34a569e50a8d1f69aa123f9b32f</id>
<content type='text'>
Change-Id: I5690e7f4f7f04b9df1881fa60f3d3c6841cefe40
</content>
</entry>
<entry>
<title>[release-branch.go1.15-security] go1.15.5</title>
<updated>2020-11-12T16:39:58Z</updated>
<author>
<name>Carlos Amedee</name>
<email>carlos@golang.org</email>
</author>
<published>2020-11-12T14:43:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c53315d6cf1b4bfea6ff356b4a1524778c683bb9'/>
<id>urn:sha1:c53315d6cf1b4bfea6ff356b4a1524778c683bb9</id>
<content type='text'>
Change-Id: Id3b116c0f54c2131111bc8afacb8d81d06f96461
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/901407
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15-security] math/big: fix shift for recursive division</title>
<updated>2020-11-11T23:35:42Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2020-11-10T20:54:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=84150d0af193a7ccd733b3c7fa5787f43125cd2d'/>
<id>urn:sha1:84150d0af193a7ccd733b3c7fa5787f43125cd2d</id>
<content type='text'>
The previous s value could cause a crash
for certain inputs.

Will check in tests and documentation improvements later.

Thanks to the Go Ethereum team and the OSS-Fuzz project for reporting this.
Thanks to Rémy Oudompheng and Robert Griesemer for their help
developing and validating the fix.

Fixes CVE-2020-28362

Change-Id: Ibbf455c4436bcdb07c84a34fa6551fb3422356d3
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/899974
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-by: Filippo Valsorda &lt;valsorda@google.com&gt;
(cherry picked from commit 28015462c2a83239543dc2bef651e9a5f234b633)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/901065
</content>
</entry>
</feed>
