After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309880 - librsvg crashes (SEGV) with some bad SVG files
librsvg crashes (SEGV) with some bad SVG files
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-09 12:46 UTC by Matthew Gates
Modified: 2005-07-09 13:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SVG file that causes rsvg 2.9.5 SEGV (5.33 KB, image/svg)
2005-07-09 12:49 UTC, Matthew Gates
Details

Description Matthew Gates 2005-07-09 12:46:39 UTC
Distribution/Version: Gentoo, last synced 20050708

use rsvg, or rsvg-view command line tools on attached file (Note that this file
is valid XML, hence not adding this to bug 308021).:

$ rsvg-view blokken_arjen_meijer_01.svg
Segmentation fault

For the rsvg command line tools this isn't such a problem, but the same thing
happens in applications that use librsvg, e.g. gqview, nautilus etc. leading to
a possible DOS style attack that crashes apps that use librsvg.

Expected:  more graceful error handling.
Comment 1 Matthew Gates 2005-07-09 12:49:12 UTC
Created attachment 48859 [details]
SVG file that causes rsvg 2.9.5 SEGV

It appears to be valid XML, (at least according to xmlwf).  Inkscape displays
some errors trying to read it (and can't display any useful image):

blokken_arjen_meijer_01.svg:13: namespace error : Namespace prefix xlink for
href on use is not defined
      <use x="	0" xlink:href="#vierblokken" y="0"/>
						  ^
Comment 2 Dominic Lachowicz 2005-07-09 13:28:36 UTC
this doesn't crash CVS HEAD. it does however, not render properly.