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 549550 - unbounded recursion caused by markers in stylesheet
unbounded recursion caused by markers in stylesheet
Status: RESOLVED DUPLICATE of bug 518640
Product: librsvg
Classification: Core
Component: general
unspecified
Other All
: Normal major
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-27 09:11 UTC by Allison Karlitskaya (desrt)
Modified: 2008-08-29 17:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2008-08-27 09:11:27 UTC
the following document crashes librsvg:

<?xml version='1.0'?>

<svg xmlns='http://www.w3.org/2000/svg'>
  <style type='text/css'>
    path
    {
      marker-start: url(#ouch);
    }
  </style>
  <marker id='ouch'>
    <path d='M 0 0 V 4'/>
  </marker>

  <path d='M 0 0 V 4'/>
</svg>

the problem is that the stylesheet is matching the <path> statement inside the <marker>.  this causes an infinite recursion as the marker is applied to itself...
Comment 1 palfrey 2008-08-29 17:06:11 UTC
This is a duplicate of Bug 518640, which is another infinite recursion example.

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