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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to