Summary: | Crash when creating a new tab in konqueror while viewing an svg document | ||
---|---|---|---|
Product: | [Unmaintained] ksvg | Reporter: | Hamish Rodda <rodda> |
Component: | general | Assignee: | Nikolas Zimmermann <wildfox> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Hamish Rodda
2004-02-10 16:58:46 UTC
CVS commit by page: Prevent null pointer dereference crash. Could occur when viewing an svg file and creating a new tab in konqueror. CCMAIL: 74844-done@bugs.kde.org M +1 -1 ksvg_plugin.cpp 1.112 --- kdegraphics/ksvg/plugin/ksvg_plugin.cpp #1.111:1.112 @@ -149,5 +149,5 @@ KSVGPlugin::~KSVGPlugin() kdDebug(26003) << "KSVGPlugin::~KSVGPlugin" << endl; - if(ksvgd->doc->rootElement()) + if(ksvgd->doc && ksvgd->doc->rootElement()) ksvgd->doc->rootElement()->pauseAnimations(); |