-
Notifications
You must be signed in to change notification settings - Fork 19k
Comparing changes
Open a pull request
base repository: golang/go
base: go1.16.4
head repository: golang/go
compare: go1.16.5
- 13 commits
- 24 files changed
- 10 contributors
Commits on May 20, 2021
-
[release-branch.go1.16] cmd/link: disable plugin support if cgo is di…
…sabled Functional plugin support requires cgo to be enabled. Disable it if the environment has disabled cgo. This prevents unexpected linker failures when linking large binaries with cgo disabled which use the plugin package. Fixes #45832 Change-Id: Ib71f0e089f7373b7b3e3cd53da3612291e7bc473 Reviewed-on: https://go-review.googlesource.com/c/go/+/314449 Run-TryBot: Paul Murphy <[email protected]> Reviewed-by: Cherry Zhang <[email protected]> TryBot-Result: Go Bot <[email protected]> Trust: Lynn Boger <[email protected]> (cherry picked from commit 983dea9) Reviewed-on: https://go-review.googlesource.com/c/go/+/316329 Reviewed-by: Cherry Mui <[email protected]> Trust: Dmitri Shuralyov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7248a0 - Browse repository at this point
Copy the full SHA c7248a0View commit details
Commits on May 21, 2021
-
[release-branch.go1.16] cmd/link: don't cast end address to int32
When linking a very large binary, the section address may not fit in int32. Don't truncate it. Fixes #46128. Updates #46126. Change-Id: Ibcc8d74bf5662611949e547ce44ca8b973de383f Reviewed-on: https://go-review.googlesource.com/c/go/+/319289 Trust: Cherry Mui <[email protected]> Run-TryBot: Cherry Mui <[email protected]> Reviewed-by: Than McIntosh <[email protected]> TryBot-Result: Go Bot <[email protected]> (cherry picked from commit af0f8c1) Reviewed-on: https://go-review.googlesource.com/c/go/+/319369
Configuration menu - View commit details
-
Copy full SHA for 305fa95 - Browse repository at this point
Copy the full SHA 305fa95View commit details
Commits on May 27, 2021
-
[release-branch.go1.16] math/big: check for excessive exponents in Ra…
…t.SetString Found by OSS-Fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33284 Thanks to Emmanuel Odeke for reporting this issue. Updates #45910 Fixes #46306 Fixes CVE-2021-33198 Change-Id: I61e7b04dbd80343420b57eede439e361c0f7b79c Reviewed-on: https://go-review.googlesource.com/c/go/+/316149 Trust: Robert Griesemer <[email protected]> Trust: Katie Hockman <[email protected]> Run-TryBot: Robert Griesemer <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Katie Hockman <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]> (cherry picked from commit 6c591f7) Reviewed-on: https://go-review.googlesource.com/c/go/+/321832 Run-TryBot: Katie Hockman <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9210eaf - Browse repository at this point
Copy the full SHA 9210eafView commit details -
[release-branch.go1.16] net: verify results from Lookup* are valid do…
…main names For the methods LookupCNAME, LookupSRV, LookupMX, LookupNS, and LookupAddr check that the returned domain names are in fact valid DNS names using the existing isDomainName function. Thanks to Philipp Jeitner and Haya Shulman from Fraunhofer SIT for reporting this issue. Updates #46241 Fixes #46357 Fixes CVE-2021-33195 Change-Id: I47a4f58c031cb752f732e88bbdae7f819f0af4f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/323131 Trust: Roland Shoemaker <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> Reviewed-by: Katie Hockman <[email protected]> (cherry picked from commit cdcd028) Reviewed-on: https://go-review.googlesource.com/c/go/+/323270
Configuration menu - View commit details
-
Copy full SHA for df6a737 - Browse repository at this point
Copy the full SHA df6a737View commit details
Commits on May 28, 2021
-
[release-branch.go1.16] archive/zip: only preallocate File slice if r…
…easonably sized Since the number of files in the EOCD record isn't validated, it isn't safe to preallocate Reader.Files using that field. A malformed archive can indicate it contains up to 1 << 128 - 1 files. We can still safely preallocate the slice by checking if the specified number of files in the archive is reasonable, given the size of the archive. Thanks to the OSS-Fuzz project for discovering this issue and to Emmanuel Odeke for reporting it. Updates #46242 Fixes #46397 Fixes CVE-2021-33196 Change-Id: I3c76d8eec178468b380d87fdb4a3f2cb06f0ee76 Reviewed-on: https://go-review.googlesource.com/c/go/+/318909 Trust: Roland Shoemaker <[email protected]> Trust: Katie Hockman <[email protected]> Trust: Joe Tsai <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Katie Hockman <[email protected]> Reviewed-by: Joe Tsai <[email protected]> (cherry picked from commit 74242ba) Reviewed-on: https://go-review.googlesource.com/c/go/+/322909 Reviewed-by: Filippo Valsorda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 895fb1b - Browse repository at this point
Copy the full SHA 895fb1bView commit details -
[release-branch.go1.16] net/http/httputil: always remove hop-by-hop h…
…eaders Previously, we'd fail to remove the Connection header from a request like this: Connection: Connection: x-header Updates #46313 Fixes #46315 Fixes CVE-2021-33197 Change-Id: Ie3009e926ceecfa86dfa6bcc6fe14ff01086be7d Reviewed-on: https://go-review.googlesource.com/c/go/+/321929 Run-TryBot: Filippo Valsorda <[email protected]> Reviewed-by: Katie Hockman <[email protected]> Trust: Katie Hockman <[email protected]> Trust: Filippo Valsorda <[email protected]> TryBot-Result: Go Bot <[email protected]> (cherry picked from commit 950fa11) Reviewed-on: https://go-review.googlesource.com/c/go/+/323090Configuration menu - View commit details
-
Copy full SHA for 0410005 - Browse repository at this point
Copy the full SHA 0410005View commit details
Commits on Jun 2, 2021
-
[release-branch.go1.16] net/http: prevent infinite wait during TestMi…
…ssingStatusNoPanic If the client request never makes it to the server, the outstanding accept is never broken. Change the test to always close the listening socket when the client request completes. Updates #45358 Change-Id: I744a91dfa11704e7e528163d7669c394e90456dc Reviewed-on: https://go-review.googlesource.com/c/go/+/319275 Trust: Heschi Kreinick <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> (cherry picked from commit c0a7ecf) Reviewed-on: https://go-review.googlesource.com/c/go/+/320190 Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1613be8 - Browse repository at this point
Copy the full SHA 1613be8View commit details -
[release-branch.go1.16] cmd/link/internal: fix use of DynlinkingGo wi…
…th ppc64le trampolines When creating programs with large text sections on ppc64le, trampolines are needed for calls that are too far; however they are not created if the code is generated such that the TOC register r2 is initialized and maintained in the code because then the external linker can create the trampolines. Previously the function DynlinkingGo was used to determine this but in the case where plugins are used, this could return true even though r2 is not valid. To fix this problem I've added a new function r2Valid which returns true when the build options indicate that the r2 is initialized and maintained. Because of the ways that DynlinkingGo is used I wanted to maintain its previous behavior. Fixes #45927 Change-Id: I6d902eba6ad41757aa6474948b79acdbd479cb38 Reviewed-on: https://go-review.googlesource.com/c/go/+/315289 Trust: Lynn Boger <[email protected]> Run-TryBot: Lynn Boger <[email protected]> Reviewed-by: Cherry Zhang <[email protected]> TryBot-Result: Go Bot <[email protected]> (cherry picked from commit 9ed736a) Reviewed-on: https://go-review.googlesource.com/c/go/+/316750 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40b97d6 - Browse repository at this point
Copy the full SHA 40b97d6View commit details -
[release-branch.go1.16] cmd/go: in 'go mod download' without args, do…
…n't save module zip sums 'go mod download' without arguments is frequently used to populate the module cache. It tends to fetch a lot of extra files (for modules in the build list that aren't needed to build packages in the main module). It's annoying when sums are written for these extra files. 'go mod download mod@version' will still write sums for specific modules in the build list. 'go mod download all' still has the previous behavior. For now, all invocations of 'go mod download' still update go.mod and go.sum with changes needed to load the build list (1.15 behavior). Fixes #46214 Change-Id: I9e17d18a7466ac7271a0e1a2b663f6b3cb168c97 Reviewed-on: https://go-review.googlesource.com/c/go/+/318629 Trust: Jay Conrod <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> (cherry picked from commit 4fb10b2) Reviewed-on: https://go-review.googlesource.com/c/go/+/321892 Run-TryBot: Jay Conrod <[email protected]> TryBot-Result: Go Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbf69b7 - Browse repository at this point
Copy the full SHA dbf69b7View commit details -
[release-branch.go1.16] cmd/go: use a real Go version in the go.mod f…
…iles in TestScript/mod_readonly For some reason, the go.mod file added to this test in CL 147281 lists 'go 1.20' instead of the version that was actually current when the go.mod file was added. That causes the test's behavior to change under lazy loading, because 1.20 is above the threshold to trigger lazy-loading invariants (1.17). This backports CL 314049 to Go 1.16 in order to fix a spurious test failure in a subsequent change. For #46144 Updates #46142 Updates #36460 Change-Id: I92400996cb051ab30e99bfffafd91ff32a1e7087 Reviewed-on: https://go-review.googlesource.com/c/go/+/314049 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Michael Matloob <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-on: https://go-review.googlesource.com/c/go/+/319670 Reviewed-by: Jay Conrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9f27b8 - Browse repository at this point
Copy the full SHA c9f27b8View commit details -
[release-branch.go1.16] cmd/go: error out of 'go mod tidy' if the go …
…version is newer than supported This backports the test from CL 319669, but — because of extensive changes to the module loader during the Go 1.17 cycle — the implementation is entirely different. (This implementation is based on the addGoStmt function present in init.go in the 1.16 branch.) Fixes #46144 Updates #46142 Change-Id: Ib7a0a159e53cbe476be6aa9a050add10cc750dec Reviewed-on: https://go-review.googlesource.com/c/go/+/319671 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2222d8 - Browse repository at this point
Copy the full SHA f2222d8View commit details -
[release-branch.go1.16] net: don't rely on system hosts in TestCVE202…
…133195 Also don't unnecessarily deref the error return. Updates #46504 Fixes #46530 Change-Id: I22d14ac76776f8988fa0774bdcb5fcd801ce0185 Reviewed-on: https://go-review.googlesource.com/c/go/+/324190 Trust: David Chase <[email protected]> Trust: Damien Neil <[email protected]> Run-TryBot: David Chase <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Damien Neil <[email protected]> (cherry picked from commit dd7ba3b) Reviewed-on: https://go-review.googlesource.com/c/go/+/324332 Run-TryBot: Damien Neil <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d6115c - Browse repository at this point
Copy the full SHA 0d6115cView commit details
Commits on Jun 3, 2021
-
[release-branch.go1.16] go1.16.5
Change-Id: Ibe47050481a01ec434f87db31048981e21fba1c3 Reviewed-on: https://go-review.googlesource.com/c/go/+/324552 Run-TryBot: David Chase <[email protected]> Trust: David Chase <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> TryBot-Result: Go Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7677616 - Browse repository at this point
Copy the full SHA 7677616View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff go1.16.4...go1.16.5