[llvm-bugs] [Bug 50499] New: Coroutine use after free on Clang 12.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 26 14:10:18 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50499
Bug ID: 50499
Summary: Coroutine use after free on Clang 12.
Product: clang
Version: 12.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++2a
Assignee: unassignedclangbugs at nondot.org
Reporter: z.zoelec2 at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210526/20c08349/attachment.html>
More information about the llvm-bugs
mailing list