SVGs with duplicate IDs cause Nautilus/eog to crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
librsvg |
Fix Released
|
Medium
|
|||
librsvg2 (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
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>
</defs>
<g id="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.
Changed in librsvg: | |
status: | Unknown → Unconfirmed |
Changed in librsvg: | |
status: | Unconfirmed → Fix Released |
Changed in librsvg: | |
importance: | Unknown → Medium |
Moved to package librsvg2-2, instead of librsvg2 which doesn't exist in Ubuntu.