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.7
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.8
Choose a head ref
  • 4 commits
  • 8 files changed
  • 4 contributors

Commits on Sep 5, 2024

  1. [release-branch.go1.22] cmd/cgo: correct padding required by alignment

    If the aligned offset isn't sufficient for the field offset,
    we were padding based on the aligned offset. We need to pad
    based on the original offset instead.
    
    Also set the Go alignment correctly for int128. We were defaulting
    to the maximum alignment, but since we translate int128 into an
    array of uint8 the correct Go alignment is 1.
    
    For #69086
    Fixes #69218
    
    Change-Id: I23ce583335c81beac2ac51f7f9336ac97ccebf09
    Reviewed-on: https://go-review.googlesource.com/c/go/+/608815
    Reviewed-by: Damien Neil <dneil@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Auto-Submit: Ian Lance Taylor <iant@golang.org>
    (cherry picked from commit c209892)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/611297
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    ianlancetaylor authored and gopherbot committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    71655f1 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. [release-branch.go1.22] runtime: size maps.Clone destination bucket a…

    …rray safely
    
    In rare situations, like during same-sized grows, the source map for
    maps.Clone may be overloaded (has more than 6.5 entries per
    bucket). This causes the runtime to allocate a larger bucket array for
    the destination map than for the source map. The maps.Clone code
    walks off the end of the source array if it is smaller than the
    destination array.
    
    This is a pretty simple fix, ensuring that the destination bucket
    array is never longer than the source bucket array. Maybe a better fix
    is to make the Clone code handle shorter source arrays correctly, but
    this fix is deliberately simple to reduce the risk of backporting this
    fix.
    
    Fixes #69155
    
    Change-Id: I824c93d1db690999f25a3c43b2816fc28ace7509
    Reviewed-on: https://go-review.googlesource.com/c/go/+/610238
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
    Reviewed-by: Keith Randall <khr@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    randall77 authored and gopherbot committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    6fab4b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when rest…

    …ricted, document
    
    For #67088
    Fixes #69366
    
    Change-Id: I42e7a8d02b161187772f147e3e136ab6e0f71d7f
    Reviewed-on: https://go-review.googlesource.com/c/go/+/585059
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    (cherry picked from commit d05af62)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/612475
    stapelberg authored and timothy-king committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b4086b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. [release-branch.go1.22] go1.22.8

    Change-Id: I5436cd510a9fa232f7f50ed7e861bb02393e0117
    Reviewed-on: https://go-review.googlesource.com/c/go/+/617020
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: David Chase <drchase@google.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    gopherbot committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    aeccd61 View commit details
    Browse the repository at this point in the history
Loading