Skip to content

Coroutine use after free on Clang 12. #49843

Closed
@zoecarver

Description

@zoecarver
Bugzilla Link 50499
Version 12.0
OS All
CC @adrianimboden,@zygoloid

Extended Description

Starting with Clang 12, the address sanitizers fail because of a use-after-free any time get_return_object returns something that is not the parent object and the parent object is not empty. Here's a reproducer: https://godbolt.org/z/6Gfv3xG9o

Refs https://reviews.llvm.org/D103196 where this came up.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions