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.24.9
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.24.11
Choose a head ref
  • 8 commits
  • 9 files changed
  • 5 contributors

Commits on Oct 17, 2025

  1. [release-branch.go1.24] net/url: allow IP-literals with IPv4-mapped I…

    …Pv6 addresses
    
    The security fix we applied in CL709857 was overly broad. It applied
    rules from RFC 2732, which disallowed IPv4-mapped IPv6 addresses, but
    these were later allowed in RFC 3986, which is the canonical URI syntax
    RFC.
    
    Revert the portion of CL709857 which restricted IPv4-mapped addresses,
    and update the related tests.
    
    Updates #75815
    Fixes #75831
    
    Change-Id: I3192f2275ad5c386f5c15006a6716bdb5282919d
    Reviewed-on: https://go-review.googlesource.com/c/go/+/710375
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Ethan Lee <[email protected]>
    Auto-Submit: Roland Shoemaker <[email protected]>
    (cherry picked from commit 9db7e30)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/712142
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    rolandshoemaker authored and gopherbot committed Oct 17, 2025
    Configuration menu
    Copy the full SHA
    a216ddc View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2025

  1. [release-branch.go1.24] encoding/pem: properly decode strange PEM data

    When the passed byte slice has leading garbage, properly handle ignoring
    it and continuing to parse the slice until we find a valid block (or
    nothing).
    
    Fixes #75951
    
    Change-Id: I07e937d9c754fd71b028b99450b48f57b4464457
    Reviewed-on: https://go-review.googlesource.com/c/go/+/712140
    Reviewed-by: Damien Neil <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    (cherry picked from commit 0983090)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/712641
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    rolandshoemaker authored and dr2chase committed Oct 24, 2025
    Configuration menu
    Copy the full SHA
    bbf8f42 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2025

  1. [release-branch.go1.24] encoding/pem: properly calculate end indexes

    When a block is missing the END line trailer, calculate the indexes of
    the end and end trailer _before_ continuing the loop, making the
    reslicing at the start of the loop work as expected.
    
    Fixes #76028
    
    Change-Id: If45c8cb473315623618f02cc7609f517a72d232d
    Reviewed-on: https://go-review.googlesource.com/c/go/+/714200
    Auto-Submit: Roland Shoemaker <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    (cherry picked from commit 839da71)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/714680
    Reviewed-by: David Chase <[email protected]>
    rolandshoemaker authored and mknyszek committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    562709b View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2025

  1. [release-branch.go1.24] go1.24.10

    Change-Id: I74370108e95298bec0fe0f7738867072ece0d0ff
    Reviewed-on: https://go-review.googlesource.com/c/go/+/718063
    TryBot-Bypass: Gopher Robot <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    gopherbot committed Nov 5, 2025
    Configuration menu
    Copy the full SHA
    0259df1 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2025

  1. [release-branch.go1.24] internal/cpu: use correct variable when parsi…

    …ng CPU features lamcas and lam_bh on loong64
    
    Fixes #76378
    
    Change-Id: I5019f4e32243911f735f775bcb3c0dba5adb4162
    Reviewed-on: https://go-review.googlesource.com/c/go/+/655395
    Reviewed-by: David Chase <[email protected]>
    Reviewed-by: Junyang Shao <[email protected]>
    Reviewed-by: Meidan Li <[email protected]>
    Reviewed-by: sophie zhao <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    (cherry picked from commit bcd0ebb)
    Reviewed-on: https://go-review.googlesource.com/c/go/+/722400
    Reviewed-by: abner chenc <[email protected]>
    Reviewed-by: Mark Freeman <[email protected]>
    abner-chenc authored and cherrymui committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    23743a8 View commit details
    Browse the repository at this point in the history
  2. [release-branch.go1.24] crypto/x509: excluded subdomain constraints p…

    …reclude wildcard SANs
    
    When evaluating name constraints in a certificate chain, the presence of
    an excluded subdomain constraint (e.g., excluding "test.example.com")
    should preclude the use of a wildcard SAN (e.g., "*.example.com").
    
    Fixes #76442
    Fixes #76463
    Fixes CVE-2025-61727
    
    Change-Id: I42a0da010cb36d2ec9d1239ae3f61cf25eb78bba
    Reviewed-on: https://go-review.googlesource.com/c/go/+/724401
    Reviewed-by: Nicholas Husin <[email protected]>
    Reviewed-by: Daniel McCarney <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Nicholas Husin <[email protected]>
    Reviewed-by: Neal Patel <[email protected]>
    rolandshoemaker authored and cherrymui committed Nov 25, 2025
    Configuration menu
    Copy the full SHA
    04db77a View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2025

  1. [release-branch.go1.24] crypto/x509: prevent HostnameError.Error() fr…

    …om consuming excessive resource
    
    Constructing HostnameError.Error() takes O(N^2) runtime due to using a
    string concatenation in a loop. Additionally, there is no limit on how
    many names are included in the error message. As a result, a malicious
    attacker could craft a certificate with an infinite amount of names to
    unfairly consume resource.
    
    To remediate this, we will now use strings.Builder to construct the
    error message, preventing O(N^2) runtime. When a certificate has 100 or
    more names, we will also not print each name individually.
    
    Thanks to Philippe Antoine (Catena cyber) for reporting this issue.
    
    Updates #76445
    Fixes #76460
    Fixes CVE-2025-61729
    
    Change-Id: I6343776ec3289577abc76dad71766c491c1a7c81
    Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/3000
    Reviewed-by: Neal Patel <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/3220
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-on: https://go-review.googlesource.com/c/go/+/725820
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    TryBot-Bypass: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Mark Freeman <[email protected]>
    nicholashusin authored and gopherbot committed Dec 2, 2025
    Configuration menu
    Copy the full SHA
    3a842bd View commit details
    Browse the repository at this point in the history
  2. [release-branch.go1.24] go1.24.11

    Change-Id: Iae7d7cf17bf31ac6aaf145993d0b857a3ddbcacb
    Reviewed-on: https://go-review.googlesource.com/c/go/+/725841
    TryBot-Bypass: Gopher Robot <[email protected]>
    Reviewed-by: Mark Freeman <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    gopherbot committed Dec 2, 2025
    Configuration menu
    Copy the full SHA
    1296453 View commit details
    Browse the repository at this point in the history
Loading