boostorg / boostorg/phoenix

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

Open
#92 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
33
Forks
51
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.