Summary: | ksvg crashes on a particular file | ||
---|---|---|---|
Product: | ksvg | Reporter: | Jos van den Oever <jos> |
Component: | general | Assignee: | Nikolas Zimmermann <wildfox> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | cfeck, esigra |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
svg crashing ksvg
KSVGReader.cc.patch.diff KSVGReader.cc.patch.diff KSVGReader.cc.patch.diff KSVGReader.cc.patch.diff |
Description
Jos van den Oever
2006-04-24 15:48:27 UTC
Created attachment 15760 [details]
svg crashing ksvg
The crash is caused by the tag in the sodipodi namespace. The sodipodi namespace was not declared. Created attachment 21250 [details]
KSVGReader.cc.patch.diff
Hi!
A patch with a fix for this bug is in the attachment.
Created attachment 21251 [details]
KSVGReader.cc.patch.diff
The same patch just a bit better.
Created attachment 21252 [details]
KSVGReader.cc.patch.diff
more strict here (also checking attribute names). this patch should be it.
Created attachment 21256 [details]
KSVGReader.cc.patch.diff
Updated: namespace constraint (reserved prefixes)
As KSVG seems to be currently unmaintained (and removed for 4.x), I am not sure what's a good path is here... You might just want to get an account and just commit it, or pester someone on a mailing list such as kfm-devel w/it... Oh, and thanks for the patch.. Actually, I wrote the patch for me 'cause I will use my KDE version (3.5.7) at least for another couple of months (2007-10-23 is the current release date for KDE 4 stable).
> Oh, and thanks for the patch..
Well, enjoy )
This is a confirmation that the bug still exists in KDE 3.5.10. (By the way, the patch does not look totally clean; there are some lines with seemingly needless whitespace-changes only.) This component has been replaced with the QtSvg based "svgpart" in KDE 4. If this issue still needs to be addressed, please add a comment. |