[Bug 35434] SVGs with duplicate IDs cause Nautilus/eog to crash

William Grant william.grant at ubuntu.com.au
Tue Oct 10 07:13:07 UTC 2006


Public bug reported:

Attempting to render an SVG which attempts to <use> a duplicate ID
causes the application to crash (Nautilus, eog, whatever). The following
code,for example triggers the bug:

<svg>
        <defs>
                <polygon id="buggy" />
        </defs>

        <g id="buggy">
                <use xlink:href="#buggy" />
        </g>
</svg>

That code is bad and wrong, but shouldn't cause a segfault in the
calling application! It took quite some time to work out that it was in
fact that problem causing Nautilus to be unable to start (I had an
offending SVG on my desktop).

Should be pretty easy to fix, I think.

Note: the original reporter indicated the bug was in package 'librsvg2';
however, that package was not published in Ubuntu.

** Affects: Ubuntu
     Importance: Medium
     Assignee: Ubuntu Desktop Bugs
         Status: Confirmed

-- 
SVGs with duplicate IDs cause Nautilus/eog to crash
https://launchpad.net/bugs/35434




More information about the desktop-bugs mailing list