[Kst] [Bug 135354] crash when equation contains [scalar][scalar]
George Staikos
staikos at kde.org
Mon Oct 16 18:57:43 CEST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=135354
staikos kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
------- Additional Comments From staikos kde org 2006-10-16 18:57 -------
SVN commit 596053 by staikos:
don't crash when an equation fails to parse
BUG: 135354
M +1 -1 kstequation.cpp
--- trunk/extragear/graphics/kst/src/libkstmath/kstequation.cpp #596052:596053
@ -211,7 +211,7 @
Equation::Context ctx;
ctx.sampleCount = _ns;
ctx.xVector = v;
- usedUpdated = KstObject::UPDATE == _pe->update(update_counter, &ctx);
+ usedUpdated = _pe && KstObject::UPDATE == _pe->update(update_counter, &ctx);
KstObject::UpdateType rc = NO_CHANGE; // if force, rc = UPDATE anyway.
if (force || xUpdated || usedUpdated) {
More information about the Kst
mailing list