Jump on uninitialized value in parser.cpp:151

Christoph Bartoschek bartoschek at or.uni-bonn.de
Tue Nov 28 15:11:37 UTC 2006


In m_problems is not initialized in line parser.cpp:151.
It is not set in the constructor and any function of the traceback.


at 0x9CA6753: Parser::reportError(QString const&) (parser.cpp:151)
by 0x9C9F010: Parser::parseStatement(std::auto_ptr<StatementAST>&) 
(parser.cpp:2579)
by 0x9C9F1E2: Parser::parseFunctionBody(std::auto_ptr<StatementListAST>&) 
(parser.cpp:3277)
by 0x9CA0C54: Parser::parseDeclarationInternal(std::auto_ptr<DeclarationAST>&) 
(parser.cpp:3233)
by 0x9C9B219: Parser::parseDeclaration(std::auto_ptr<DeclarationAST>&) 
(parser.cpp:548)
by 0x99A8607: 
CppCodeCompletion::computeFunctionContext(KSharedPtr<FunctionModel>, int, 
int, SimpleTypeConfiguration&) (cppcodecompletion.cpp:1699)
by 0x99B92EF: CppCodeCompletion::evaluateExpressionType(int, int, 
SimpleTypeConfiguration&, CppCodeCompletion::EvaluateExpressionOptions) 
(cppcodecompletion.cpp:1980)
by 0x99BA9BC: CppCodeCompletion::evaluateExpressionAt(int, int, SimpleTypeCo

Christoph




More information about the KDevelop-devel mailing list