Skip to content

Check stack frames are correctly cleared when hlt is called #1074

Open

Description

@dblnz

We should ensure that the call to hlt instruction is only made after everything has been torn down so we do not leak anything.

An idea of how to implement such a fix can be found at PR comment.
Which basically says we should use minimal assembly that only calls a rust function and then runs hlt, which ensures anything has been torn down before calling hlt

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

    area/securityInvolves security-related changes or fixeslifecycle/confirmedBug is verified or proposal seems reasonable

    Type

    Projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions