Bug 126176 - ksvg crashes on a particular file
Summary: ksvg crashes on a particular file
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksvg
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Nikolas Zimmermann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-24 15:48 UTC by Jos van den Oever
Modified: 2011-10-17 21:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
svg crashing ksvg (5.58 KB, image/svg+xml)
2006-04-24 15:49 UTC, Jos van den Oever
Details
KSVGReader.cc.patch.diff (2.31 KB, patch)
2007-07-26 09:23 UTC, patch_linams
Details
KSVGReader.cc.patch.diff (2.29 KB, patch)
2007-07-26 09:45 UTC, patch_linams
Details
KSVGReader.cc.patch.diff (2.87 KB, patch)
2007-07-26 11:02 UTC, patch_linams
Details
KSVGReader.cc.patch.diff (3.01 KB, patch)
2007-07-26 21:05 UTC, patch_linams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jos van den Oever 2006-04-24 15:48:27 UTC
Version:           unknown (using KDE 3.5.2 Level "a" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.11-smp

ksvg crashes on the attached file.
The crash can be repeated by opening the file in konqueror.
Comment 1 Jos van den Oever 2006-04-24 15:49:01 UTC
Created attachment 15760 [details]
svg crashing ksvg
Comment 2 Jos van den Oever 2006-04-24 15:50:20 UTC
The crash is caused by the tag in the sodipodi namespace. The sodipodi namespace was not declared.
Comment 3 patch_linams 2007-07-26 09:23:49 UTC
Created attachment 21250 [details]
KSVGReader.cc.patch.diff

Hi!

A patch with a fix for this bug is in the attachment.
Comment 4 patch_linams 2007-07-26 09:45:31 UTC
Created attachment 21251 [details]
KSVGReader.cc.patch.diff

The same patch just a bit better.
Comment 5 patch_linams 2007-07-26 11:02:14 UTC
Created attachment 21252 [details]
KSVGReader.cc.patch.diff

more strict here (also checking attribute names). this patch should be it.
Comment 6 patch_linams 2007-07-26 21:05:24 UTC
Created attachment 21256 [details]
KSVGReader.cc.patch.diff

Updated: namespace constraint (reserved prefixes)
Comment 7 Maksim Orlovich 2007-07-26 21:13:20 UTC
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..
Comment 8 patch_linams 2007-07-26 21:46:05 UTC
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 )
Comment 9 esigra 2009-01-18 11:55:34 UTC
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.)
Comment 10 Christoph Feck 2011-10-17 21:06:57 UTC
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.