Skip to content

cmd/compile: stack growth within newobject sees junk pointer because of incorrect liveness info #16249

@quentinmit

Description

@quentinmit

Go 1.7 calls runtime.newobject before initializing all return parameters; if this happens during a GC, the GC will see garbage data on the stack. @dr2chase can fill in more details here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions