The following c++ code illustrates the problem
ParserX p;
p.SetExpr(_T("sum(1,2)/sum(3,4)")); // evaluates ok
p.SetExpr(_T("sum(1,2)/sum(3,4,5)")); // crashes muParser on evaluation
Value result = p.Eval();
console() << result << "\n";
What is the expected output? What do you see instead?
Instead of evaluating to (in this example) 0.25, the evaluation crashes
muParserX
What version of the product are you using? On what operating system?
2.0 version of muParserX
OS: Windows XP (Visual Studio 2005) and MacOS (QT 4.7.3)
Original issue reported on code.google.com by hans...@gmail.com on 13 Oct 2011 at 11:32
Original issue reported on code.google.com by
hans...@gmail.com
on 13 Oct 2011 at 11:32