[llvm-bugs] [Bug 24170] Failure to find double delete

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 22 15:23:42 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24170

Ismail Pazarbasi <ismail.pazarbasi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ismail.pazarbasi at gmail.com
         Resolution|---                         |FIXED

--- Comment #3 from Ismail Pazarbasi <ismail.pazarbasi at gmail.com> ---
Hi JD,

Leaks are detected, but analyzer won't report leaks if it finds a bug on the
path.

Analyzer can detect the the double-free in both files. std::copy implementation
of libstdc++ uses a type-trait intrinsic that we didn't handle (__is_trivial)
in the analyzer. In such unhandled cases, analyzer stops exploring the path
further.

The patch is committed in r248314.

-- 
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/20150922/40f1898e/attachment.html>


More information about the llvm-bugs mailing list