8000 Comparing go1.22.2...go1.22.3 · golang/go · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: go1.22.2
Choose a base ref
...
head repository: golang/go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: go1.22.3
Choose a head ref
  • 10 commits
  • 14 files changed
  • 8000 8 contributors

Commits on Apr 3, 2024

  1. [release-branch.go1.22] all: tidy dependency versioning after release

    Done with:
    
    go get golang.org/x/net@internal-branch.go1.22-vendor
    go mod tidy
    go mod vendor
    go generate net/http  # zero diff since CL 576076 already did this
    
    For CVE-2023-45288.
    For #65051.
    For #66298.
    
    Change-Id: I2a0d69145d711a73eda92ef5ad4010c7c435f621
    Reviewed-on: https://go-review.googlesource.com/c/go/+/576255
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
    TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Than McIntosh <thanm@google.com>
    dmitshur authored and gopherbot committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    a65a2bb View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. [release-branch.go1.22] net/http: update bundled golang.org/x/net/http2

    Pull in CL 578338:
    
    	db050b07 http2: send correct LastStreamID in stream-caused GOAWAY
    
    For #66668.
    Fixes #66698.
    
    Change-Id: Ie7cbc44cd559eb8bc34f6c4ad4ead678ec2f55ef
    Reviewed-on: https://go-review.googlesource.com/c/go/+/578358
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    dmitshur authored and cagedmantis committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    d6c972a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. [release-branch.go1.22] cmd/internal/obj/ppc64: fix incorrect int to …

    …int64 conversion when checking MOVD opcodes
    
    A type conversion from int to int64 was done in the wrong place causing
    some MOVD $const, Rx operations to be incorrectly transformed on 32 bit
    hosts cross-compiling for ppc64x.
    
    Fixes #67018
    
    Change-Id: I023ba267a8dac6d6bd22f8146c0d9d2d473bc5c1
    Reviewed-on: https://go-review.googlesource.com/c/go/+/580796
    Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
    Reviewed-by: Joedian Reid <joedian@google.com>
    Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-on: https://go-review.googlesource.com/c/go/+/581455
    pmur authored and joedian committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    12c1177 View commit details
    Browse the repository at this point in the history
  2. [release-branch.go1.22] cmd/compile: bail PGO method lookup on interf…

    …ace types
    
    Interface types don't have concrete method implementations, so it does
    not make sense to attempt a lookup.
    
    An interface method would not normally appear in a PGO profile as it has
    no symbol in the final binary. However it can appear if the method was
    concrete when the profile was collected and it has since been refactored
    to an interface method in the code being compiled.
    
    The guards here (OTYPE, !Alias, !IsInterface) now match
    noder.linker.relocObj, which does a similar iteration of all methods.
    
    For #67016.
    Fixes #67017.
    
    Change-Id: I858c58929c890ac0b2019fbd7c99f683ab63f8bb
    Reviewed-on: https://go-review.googlesource.com/c/go/+/581436
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    (cherry picked from commit 508e761)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/581438
    prattmic authored and joedian committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    a7ff78d View commit details
    Browse the repository at this point in the history
  3. [release-branch.go1.22] runtime: use bootstrapRand to initialize hashkey

    The seed for rand is not initialized until after alginit. Before
    initialization, rand returns a deterministic sequence, making hashkey
    deterministic across processes.
    
    Switch to bootstrapRand, like other early rand calls, such as
    initialization of aeskeysched.
    
    For #66885.
    Fixes #66886.
    
    Change-Id: I5023a9161232b49fda2ebd1d5f9338bbdd17b1fe
    Reviewed-on: https://go-review.googlesource.com/c/go/+/580136
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Keith Randall <khr@golang.org>
    Reviewed-by: Keith Randall <khr@google.com>
    (cherry picked from commit 1a3682b)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/580018
    prattmic authored and joedian committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    3f4af1f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. [release-branch.go1.22] net: check SkipAdditional error result

    This will avoid a potential endless loop for a corrupt DNS packet.
    
    For #66754
    Fixes #67040
    
    Change-Id: I46591b3f7695bcc88d2312833e45955f8c129d2b
    Reviewed-on: https://go-review.googlesource.com/c/go/+/578375
    Reviewed-by: Damien Neil <dneil@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Commit-Queue: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    (cherry picked from commit ddfab21)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/581816
    Reviewed-by: David Chase <drchase@google.com>
    ianlancetaylor authored and dr2chase committed May 1, 2024
    Configuration menu
    Copy the full SHA
    93d8777 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. [release-branch.go1.22] cmd/compile: don't combine loads in generated…

    … equality functions
    
    ... if the architecture can't do unaligned loads.
    We already handle this in a few places, but this particular place
    was added in CL 399542 and missed this additional restriction.
    
    Fixes #67212
    
    Change-Id: I45988f11ff3ed45df1c4da3f0931ab1fdb22dbfe
    Reviewed-on: https://go-review.googlesource.com/c/go/+/583175
    Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
    Auto-Submit: Keith Randall <khr@google.com>
    Reviewed-by: Keith Randall <khr@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Derek Parker <parkerderek86@gmail.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    (cherry picked from commit 3c72dd5)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/583417
    randall77 committed May 6, 2024
    Configuration menu
    Copy the full SHA
    9d2e285 View commit details
    Browse the repository at this point in the history
  2. [release-branch.go1.22] Revert "cmd/compile: don't combine loads in g…

    …enerated equality functions"
    
    This reverts CL 583417.
    
    Reason for revert: release branch is currently frozen.
    
    Change-Id: Ia6223911e0e124f14509c4bf978d7e37688e3d4c
    Reviewed-on: https://go-review.googlesource.com/c/go/+/582960
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    cherrymui committed May 6, 2024
    Configuration menu
    Copy the full SHA
    947e43e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. [release-branch.go1.22] cmd/go: disallow -lto_library in LDFLAGS

    The darwin linker allows setting the LTO library with the -lto_library
    flag. This wasn't caught by our "safe linker flags" check because it
    was covered by the -lx flag used for linking libraries. This change
    adds a specific check for excluded flags which otherwise satisfy our
    existing checks.
    
    Loading a mallicious LTO library would allow an attacker to cause the
    linker to execute abritrary code when "go build" was called.
    
    Thanks to Juho Forsén of Mattermost for reporting this issue.
    
    Fixes #67119
    Fixes #67122
    Fixes CVE-2024-24787
    
    Change-Id: I77ac8585efbdbdfd5f39c39ed623b9408a0f9eaf
    Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/1380
    Reviewed-by: Russ Cox <rsc@google.com>
    Reviewed-by: Damien Neil <dneil@google.com>
    (cherry picked from commit 9a79141fbbca1105e5c786f15e38741ca7843290)
    Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/1420
    Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
    Reviewed-on: https://go-review.googlesource.com/c/go/+/583796
    Reviewed-by: David Chase <drchase@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rolandshoemaker authored and cherrymui committed May 7, 2024
    Configuration menu
    Copy the full SHA
    fa0292d View commit details
    Browse the repository at this point in the history
  2. [release-branch.go1.22] go1.22.3

    Change-Id: Ie006d71637a9fa66c225f3fd6cb19dae2a403e76
    Reviewed-on: https
    6374
    ://go-review.googlesource.com/c/go/+/583856
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: David Chase <drchase@google.com>
    gopherbot authored and cherrymui committed May 7, 2024
    Configuration menu
    Copy the full SHA
    adbfb67 View commit details
    Browse the repository at this point in the history
Loading
0