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 629395 - crash with HTML files which contains an SVG fragment and an <style> element
crash with HTML files which contains an SVG fragment and an <style> element
Status: RESOLVED DUPLICATE of bug 620238
Product: librsvg
Classification: Core
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2010-09-12 05:08 UTC by Kurosawa Takeshi
Modified: 2010-09-20 09:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (file chooser crashes) (190 bytes, text/html)
2010-09-12 05:11 UTC, Kurosawa Takeshi
Details
Testcase (file chooser doesn't crash) (157 bytes, text/html)
2010-09-12 05:12 UTC, Kurosawa Takeshi
Details

Description Kurosawa Takeshi 2010-09-12 05:08:21 UTC
Steps to reproduce:

Select an HTML file in a file chooser which has image preview (e.g. Firefox's one).
If the file contains both an SVG fragment and <style> element, the chooser crashes (and the main application crashes).

If the file doesn't contain either an SVG fragment or <style> element, the chooser doesn't crash.

We may stop using librsvg for previewing HTML and other non-svg files.

My environment:

* Ubuntu 10.04 i386
* gtk+ 2.20.1-0ubuntu
* librsvg 2.26.3-0ubuntu1
Comment 1 Kurosawa Takeshi 2010-09-12 05:11:08 UTC
Created attachment 170059 [details]
Testcase (file chooser crashes)
Comment 2 Kurosawa Takeshi 2010-09-12 05:12:20 UTC
Created attachment 170060 [details]
Testcase (file chooser doesn't crash)

This testcase doesn't contains (style element).
Comment 3 Kurosawa Takeshi 2010-09-20 09:33:58 UTC

*** This bug has been marked as a duplicate of bug 620238 ***