Skip to content

runtime: memlock not unlocked in all control flow paths in sysReserveAlignedSbrk [1.24 backport] #74346

Closed
@gopherbot

Description

@gopherbot

@cherrymui requested issue #74339 to be considered for backport to the next 1.24 minor release.

@gopherbot please backport this to Go 1.24. This could potentially cause a deadlock. The fix is obviously safe. Thanks.

(1.24 only as sysReserveAlignedSbrk is new code in 1.24.)

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions