<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.16.2</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.16.2</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.16.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2021-03-11T17:08:05Z</updated>
<entry>
<title>[release-branch.go1.16] go1.16.2</title>
<updated>2021-03-11T17:08:05Z</updated>
<author>
<name>Carlos Amedee</name>
<email>carlos@golang.org</email>
</author>
<published>2021-03-11T16:19:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3979fb9af9ccfc0b7ccb613dcf256b18c2c295f0'/>
<id>urn:sha1:3979fb9af9ccfc0b7ccb613dcf256b18c2c295f0</id>
<content type='text'>
Change-Id: I0513a9731e0e0d57bfeda0ffab1c5787edc916f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/300969
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.16] cmd/go: clarify errors for commands run outside a module</title>
<updated>2021-03-10T21:27:07Z</updated>
<author>
<name>Jay Conrod</name>
<email>jayconrod@google.com</email>
</author>
<published>2021-03-04T15:35:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5993fbbd4853f4c6062980908c274bacb6f927dc'/>
<id>urn:sha1:5993fbbd4853f4c6062980908c274bacb6f927dc</id>
<content type='text'>
The new error message tells the user what was wrong (no go.mod found)
and directs them to 'go help modules', which links to tutorials.

Includes test fix from CL 298794
Fixes #44746

Change-Id: I98f31fec4a8757eb1792b45491519da4c552cb0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/298650
Trust: Jay Conrod &lt;jayconrod@google.com&gt;
Run-TryBot: Jay Conrod &lt;jayconrod@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit b87e9b9f68f1eb0d685fd250b3b47495710e0059)
Reviewed-on: https://go-review.googlesource.com/c/go/+/298929
</content>
</entry>
<entry>
<title>[release-branch.go1.16] cmd/go: don't report missing std import errors for tidy and vendor</title>
<updated>2021-03-10T21:25:35Z</updated>
<author>
<name>Jay Conrod</name>
<email>jayconrod@google.com</email>
</author>
<published>2021-03-04T16:50:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6e041884406421d329b9c6064f3c13104628c876'/>
<id>urn:sha1:6e041884406421d329b9c6064f3c13104628c876</id>
<content type='text'>
'go mod tidy' and 'go mod vendor' normally report errors when a
package can't be imported, even if the import appears in a file that
wouldn't be compiled by the current version of Go. These errors are
common for packages introduced in higher versions of Go, like "embed"
in 1.16.

This change causes 'go mod tidy' and 'go mod vendor' to ignore
missing package errors if the import path appears to come from the
standard library because it lacks a dot in the first path element.

Fixes #44793
Updates #27063

Change-Id: I61d6443e77ab95fd8c0d1514f57ef4c8885a77cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/298749
Trust: Jay Conrod &lt;jayconrod@google.com&gt;
Run-TryBot: Jay Conrod &lt;jayconrod@google.com&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
(cherry picked from commit 56d52e661114be60fb1893b034ac0c5976b622af)
Reviewed-on: https://go-review.googlesource.com/c/go/+/298949
</content>
</entry>
<entry>
<title>[release-branch.go1.16] all: merge release-branch.go1.16-security into release-branch.go1.16</title>
<updated>2021-03-10T16:55:14Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2021-03-10T16:55:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b5c1b5aa070b6c0d7c9d38637d0e0d298bee52c0'/>
<id>urn:sha1:b5c1b5aa070b6c0d7c9d38637d0e0d298bee52c0</id>
<content type='text'>
Change-Id: Icc8775f559b0125eae94ce4ffd4dcb4e7146a500
</content>
</entry>
<entry>
<title>[release-branch.go1.16-security] go1.16.1</title>
<updated>2021-03-10T14:25:03Z</updated>
<author>
<name>Alexander Rakoczy</name>
<email>alex@golang.org</email>
</author>
<published>2021-03-09T21:22:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e9e0473681e581040b4adcd64b53967e1572fe8d'/>
<id>urn:sha1:e9e0473681e581040b4adcd64b53967e1572fe8d</id>
<content type='text'>
Change-Id: I4999d72caf9462554a2a6f1d761244cafec34718
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1014541
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16-security] archive/zip: fix panic in Reader.Open</title>
<updated>2021-03-09T17:55:16Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>roland@golang.org</email>
</author>
<published>2021-03-02T18:00:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=634d28d78ccbeb6e86f8bfeba030ea8be518f8fa'/>
<id>urn:sha1:634d28d78ccbeb6e86f8bfeba030ea8be518f8fa</id>
<content type='text'>
When operating on a Zip file that contains a file prefixed with "../",
Open(...) would cause a panic in toValidName when attempting to strip
the prefixed path components.

Fixes CVE-2021-27919

Change-Id: Ic755d8126cb0897e2cbbdacf572439c38dde7b35
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1004761
Reviewed-by: Filippo Valsorda &lt;valsorda@google.com&gt;
Reviewed-by: Russ Cox &lt;rsc@google.com&gt;
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
(cherry picked from commit ce22003b26eaf8e4a690757f699aae7062d41472)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1013753
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16-security] encoding/xml: prevent infinite loop while decoding</title>
<updated>2021-03-09T17:55:05Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2021-03-01T14:54:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d86e53e896eca907ad67300c0bb495e3dd925358'/>
<id>urn:sha1:d86e53e896eca907ad67300c0bb495e3dd925358</id>
<content type='text'>
This change properly handles a TokenReader which
returns an EOF in the middle of an open XML
element.

Thanks to Sam Whited for reporting this.

Fixes CVE-2021-27918

Change-Id: Id02a3f3def4a1b415fa2d9a8e3b373eb6cb0f433
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1004594
Reviewed-by: Russ Cox &lt;rsc@google.com&gt;
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-by: Filippo Valsorda &lt;valsorda@google.com&gt;
(cherry picked from commit e7ce1f6746223ec7b4caa3b1ece25d9be3864710)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1014235
</content>
</entry>
<entry>
<title>[release-branch.go1.16] cmd: upgrade golang.org/x/mod to relax import path check</title>
<updated>2021-03-03T17:59:29Z</updated>
<author>
<name>Jay Conrod</name>
<email>jayconrod@google.com</email>
</author>
<published>2021-03-01T15:00:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3068d55c2f5437fc255f31332d34bb2409b82ae7'/>
<id>urn:sha1:3068d55c2f5437fc255f31332d34bb2409b82ae7</id>
<content type='text'>
This incorporates CL 298009, which allows leading dots in import path
elements but not module path elements. Also added a test.

Fixes #44647
Updates #34992

Change-Id: I2d5faabd8f7b23a7943d3f3ccb6707ab5dc2ce3c
Reviewed-on: https://go-review.googlesource.com/c/go/+/297530
Trust: Jay Conrod &lt;jayconrod@google.com&gt;
Run-TryBot: Jay Conrod &lt;jayconrod@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit 97bdac03aee805cfa54e7762037a568d85339970)
Reviewed-on: https://go-review.googlesource.com/c/go/+/297912
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] cmd/go/internal/modload: don't query when fixing canonical versions</title>
<updated>2021-03-03T17:58:41Z</updated>
<author>
<name>Jay Conrod</name>
<email>jayconrod@google.com</email>
</author>
<published>2021-02-25T23:38:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a9ba734e4df7d4006b18dfc6f8f4272da828c6ef'/>
<id>urn:sha1:a9ba734e4df7d4006b18dfc6f8f4272da828c6ef</id>
<content type='text'>
If a canonical version is passed to fixVersion when loading the main
go.mod and that version don't match the module path's major version
suffix, don't call Query.

Query doesn't return a useful error in this case when the path is
malformed, for example, when it doens't have a dot in the first path
element. It's better to report the major version mismatch error.

Fixes #44496

Change-Id: I97b1f64aee894fa0db6fb637aa03a51357ee782c
Reviewed-on: https://go-review.googlesource.com/c/go/+/296590
Trust: Jay Conrod &lt;jayconrod@google.com&gt;
Run-TryBot: Jay Conrod &lt;jayconrod@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit 5fafc0bbd4819578e58e5b9163981b0074ab0b01)
Reviewed-on: https://go-review.googlesource.com/c/go/+/297989
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.16] cmd: upgrade golang.org/x/mod to fix go.mod parser</title>
<updated>2021-03-03T17:58:27Z</updated>
<author>
<name>Jay Conrod</name>
<email>jayconrod@google.com</email>
</author>
<published>2021-02-24T23:24:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=047ca22916333a850bfdea1db4920120911e5cb0'/>
<id>urn:sha1:047ca22916333a850bfdea1db4920120911e5cb0</id>
<content type='text'>
modfile.Parse passed an empty string to the VersionFixer for the
module path. This caused errors for v2+ versions.

For #44496

Change-Id: I13b86b6ecf6815c4bc9a96ec0668284c9228c205
Reviewed-on: https://go-review.googlesource.com/c/go/+/296131
Trust: Jay Conrod &lt;jayconrod@google.com&gt;
Run-TryBot: Jay Conrod &lt;jayconrod@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit bcac57f89c0ec609e6fbebcbcd42bb73fdaef2f0)
Reviewed-on: https://go-review.googlesource.com/c/go/+/297990
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
</feed>
