[LLVMbugs] [Bug 2519] scan-build mishandles CFDictionaryCreate

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jul 9 11:26:49 PDT 2008


Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
          Component|Semantic Analyzer           |Static Analyzer
         Resolution|                            |FIXED
            Summary|scan-build ignores CFRelease|scan-build mishandles
                   |                            |CFDictionaryCreate

--- Comment #1 from Ted Kremenek <kremenek at apple.com>  2008-07-09 13:26:48 ---
The bug was that the analyzer wasn't properly handling the keys and values
being passed to CFDictionaryCreate.  _value was being passed by reference, and
its value was invalidated by the object referred to was considered leaked.

This is now fixed:


The change is in checker-59 (now available).

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list