cppcheck analysis of aspectc++_1.0pre4~svn.20090918-1.dsc
- ./AspectC++/MatchName.h:77 [possible error] - Memory leak: Name::_matcher
- ./AspectC++/MatchType.h:113 [possible error] - Memory leak: MatchTypeRef::_type_info
- ./Puma/gen-release/step1/src/CBuilder.cc:954 [error] - Possible null pointer dereference: result
- ./Puma/gen-release/step1/src/CCBuilder.cc:786 [possible error] - Memory leak: qn
- ./Puma/gen-release/step1/src/CCSemantic.cc:733 [error] - Possible null pointer dereference: info - otherwise it is redundant to check if info is null at line 734
- ./Puma/gen-release/step1/src/CScanner.cc:229 [possible error] - Memory leak: buf
- ./Puma/gen-release/step1/src/PreExprParser.cc:100 [error] - Mismatching allocation and deallocation: copy
- ./Puma/gen-release/step1/src/PreParser.cc:139 [possible error] - Memory leak: unit
- ./Puma/gen-release/step1/src/PreParser.cc:698 [possible error] - Memory leak: comment_unit
- ./Puma/gen-release/step1/src/PreParser.cc:567 [possible error] - Memory leak: token
- ./Puma/gen-release/step1/src/PrePrintVisitor.cc:78 [possible error] - Memory leak: i
- ./Puma/gen-release/step1/src/RegComp.cc:92 [error] - Mismatching allocation and deallocation: errmesg
- ./Puma/gen-release/step2/src/ACTree.cc:5589 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/ACTree.cc:5589 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/ACTree.cc:490 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CBuilder.cc:989 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CBuilder.cc:989 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CBuilder.cc:2906 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CBuilder.cc:124906 [error] - Possible null pointer dereference: result
- ./Puma/gen-release/step2/src/CCBuilder.cc:1029 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCBuilder.cc:1029 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCBuilder.cc:2946 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCNameLookup.cc:1287 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCNameLookup.cc:1287 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCNameLookup.cc:13652 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemExpr.cc:5633 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemExpr.cc:5633 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemExpr.cc:534 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemVisitor.cc:990 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemVisitor.cc:990 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemVisitor.cc:2159 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemantic.cc:175468 [error] - Possible null pointer dereference: info - otherwise it is redundant to check if info is null at line 175469
- ./Puma/gen-release/step2/src/CCSemantic.cc:5605 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemantic.cc:5605 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSemantic.cc:506 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSyntax.cc:2401 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSyntax.cc:2401 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CCSyntax.cc:4803 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CMatchParser.cc:1044 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CMatchParser.cc:1044 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CMatchParser.cc:8856 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CProject.cc:1742 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CProject.cc:1742 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CScanner.cc:1945 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CScanner.cc:1945 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemDatabase.cc:1012 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemDatabase.cc:1012 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemDatabase.cc:9540 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemDeclSpecs.cc:5659 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemDeclSpecs.cc:5659 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemDeclSpecs.cc:3967 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemExpr.cc:1053 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemExpr.cc:1053 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemExpr.cc:11735 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemVisitor.cc:1053 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemVisitor.cc:1053 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemVisitor.cc:7311 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemantic.cc:5668 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemantic.cc:5668 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSemantic.cc:569 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSyntax.cc:2158 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSyntax.cc:2158 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CSyntax.cc:4560 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/CTree.cc:5566 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/CTree.cc:5566 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/CTree.cc:467 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/Parser.cc:48959 [information] - Failed to instantiate template. The checking continues anyway.
- ./Puma/gen-release/step2/src/Parser.cc:1971 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/Parser.cc:1971 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/Parser.cc:4373 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreExprParser.cc:964 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreExprParser.cc:964 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreExprParser.cc:2621 [error] - Mismatching allocation and deallocation: copy
- ./Puma/gen-release/step2/src/PreFileIncluder.cc:3360 [information] - Failed to instantiate template. The checking continues anyway.
- ./Puma/gen-release/step2/src/PreFileIncluder.cc:2248 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreFileIncluder.cc:2248 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreParser.cc:7144 [information] - Failed to instantiate template. The checking continues anyway.
- ./Puma/gen-release/step2/src/PreParser.cc:1791 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreParser.cc:1791 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreParser.cc:13052 [possible error] - Memory leak: unit
- ./Puma/gen-release/step2/src/PreParser.cc:13611 [possible error] - Memory leak: comment_unit
- ./Puma/gen-release/step2/src/PreParser.cc:13480 [possible error] - Memory leak: token
- ./Puma/gen-release/step2/src/PrePrintVisitor.cc:78 [possible error] - Memory leak: i
- ./Puma/gen-release/step2/src/PreprocessorParser.cc:994 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/PreprocessorParser.cc:994 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/RegComp.cc:92 [error] - Mismatching allocation and deallocation: errmesg
- ./Puma/gen-release/step2/src/Syntax.cc:1940 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/Syntax.cc:1940 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/gen-release/step2/src/Syntax.cc:4342 [error] - Class CSemObject which is inherited by class CT_ClassDef does not have a virtual destructor
- ./Puma/gen-release/step2/src/UnitManager.cc:1781 [error] - Class Chain which is inherited by class ChainCnt does not have a virtual destructor
- ./Puma/gen-release/step2/src/UnitManager.cc:1781 [error] - Class Chain which is inherited by class StrHashKey does not have a virtual destructor
- ./Puma/src/basics/RegComp.cc:92 [error] - Mismatching allocation and deallocation: errmesg
- ./Puma/src/cpp/PrePrintVisitor.cc:78 [possible error] - Memory leak: i
- ./Puma/src/parser/ccparser/CCBuilder.cc:786 [possible error] - Memory leak: qn
- ./Puma/src/parser/ccparser/CCSemantic.cc:733 [error] - Possible null pointer dereference: info - otherwise it is redundant to check if info is null at line 734
- ./Puma/src/parser/cparser/CBuilder.cc:954 [error] - Possible null pointer dereference: result
- ./Puma/src/scanner/CScanner.cc:229 [possible error] - Memory leak: buf
- ./Puma/tests/bug248/bug248.cc:17 [error] - Uninitialized variable: result
- ./Puma/tests/bug350/bug350.cc:16 [error] - Uninitialized variable: msg
- ./Puma/tests/misc/test22.cc:30 [error] - Uninitialized variable: e
- ./Puma/tools/lemon/lemon.c:2140 [error] - Resource leak: fp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:46:09 +0000, based on results by cppcheck 1.41-modif