GNOME Bugzilla – Bug 549550
unbounded recursion caused by markers in stylesheet
Last modified: 2008-08-29 17:06:11 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...
This is a duplicate of Bug 518640, which is another infinite recursion example. *** This bug has been marked as a duplicate of 518640 ***