Skip to content

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

Open

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.

Activity

  1. djowel commented on Mar 18, 2020

    @djowel
    Collaborator

    Will you do a PR for this?

  2. mgaunard commented on Mar 22, 2020

    @mgaunard
    ContributorAuthor
  3. djowel commented on Mar 22, 2020

    @djowel
    Collaborator

    #94

    Wonderful! Many thanks!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions