Skip to content

runtime: memory corruption from stack-allocated defer on 32-bit [1.15 backport] #41797

@gopherbot

Description

@gopherbot

@aclements requested issue #41795 to be considered for backport to the next 1.15 minor release.

@gopherbot, please open backports to Go 1.15 and 1.14.

This can cause random memory corruption on 32-bit architectures. The circumstances for it happening are incredibly narrow, but the fix is also trivial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions