Clang 8 double-free bug
Sylvestre Ledru
sylvestre at debian.org
Tue Oct 29 16:31:49 GMT 2019
Hello,
Le 29/10/2019 à 15:46, Martijn Otto a écrit :
> Hello,
>
> I recently ran into a show-stopper bug in clang 8. The bug-report for
> it can be found at https://bugs.llvm.org/show_bug.cgi?id=41810. This
> bug causes destructor of captured variables in a lambda to be called
> twice if an exception is thrown in its body.
>
> The fix for it is simple, to apply commit
> https://github.com/llvm-mirror/clang/commit/08d0c133ccb1b530ed743a021dc5995fbcdaf012
>
> In the bug report I asked for another point-release of clang 8, but it
> appears they are unable to do so due to time constraints.
>
> Could we have a fixed package at least for buster?
I don't fill comfortable taking this patch in Debian stable.
It isn't that small and afaik, it wasn't tested against the 8 branch.
In parallel, this is a concern case (sorry if this impacts you)
Instead, why do you use the 9 branch backport from?
https://apt.llvm.org/
It should have the fix.
Sorry,
Sylvestre
More information about the Pkg-llvm-team
mailing list