[llvm-bugs] [Bug 44263] New: false positive memory leak

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 10 06:47:56 PST 2019


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

            Bug ID: 44263
           Summary: false positive memory leak
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: dcoughlin at apple.com
          Reporter: rgerhards at hq.adiscon.com
                CC: dcoughlin at apple.com, llvm-bugs at lists.llvm.org

I think I have found a false positive and am reporting it as suggested.

Build report is here:
http://ubuntu16.rsyslog.com/19-12-10_14-18-34/2019-12-10-141929-8930-1/report-611563.html#EndPath

The same happens also with version 9. It was undetected by version 5 (the one I
used previously). Not sure about 6 and 7. I and a co-worker double checked, we
do not see anything that is wrong. Especially as the missing free is on the
next line.

The code is from the rsyslog project, related PR with all code at
https://github.com/rsyslog/rsyslog/pull/4025

If it is not a false positive, a hint to what is wrong would be appreciated.

Thx,
Rainer

-- 
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/20191210/efbea657/attachment.html>


More information about the llvm-bugs mailing list