Skip to content

asan detects stack-buffer-overflow when using try/catch #92

@mgaunard

Description

@mgaunard

catch_all_gen is holding the "try" sub-expression by reference, which of course is not valid.
Holding them by value and using base_type instead of that_type fixes the bug.

while, do/while and switch also have this bug.
Interestingly 'if' and 'for' do not.

is_actor appears to also not be consistently specialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions