Skip to content

runtime,cmd/compile: apparent memory corruption in compress/flate [1.18 backport] #56751

Closed

Description

@cherrymui

Consider backporting for #54596.

This may cause (rare) GC crashes or memory corruptions. The large object case is new for Go 1.20, but it could still happen with small objects in previous releases. Thanks.

Activity

  1. added this to the Go1.18.9 milestone on Nov 15, 2022
  2. gopherbot commented on Nov 23, 2022

    @gopherbot
    Contributor

    Change https://go.dev/cl/453255 mentions this issue: [release-branch.go1.18] runtime: make GC see object as allocated after it is initialized

  3. gopherbot commented on Nov 25, 2022

    @gopherbot
    Contributor

    Closed by merging 3115ed2 to release-branch.go1.18.

  4. added a commit that references this issue on Nov 25, 2022
    3115ed2
  5. locked and limited conversation to collaborators on Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releasesFrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions