Do you use librsvg via a desktop environment, or rsvg-convert, on Linux glibc or musl?
I'm trying to decide whether to implement an interesting but scary special case for musl.
Please boost for reach!
Discussion
Do you use librsvg via a desktop environment, or rsvg-convert, on Linux glibc or musl?
I'm trying to decide whether to implement an interesting but scary special case for musl.
Please boost for reach!
@federicomena Could we make the SVG traversal stack-safe by eliminating input-depth-dependent recursion and using an explicit heap-backed traversal stack instead?
Librsvg has trouble with musl when there are SVG documents with deeply-nested layers, due to musl's stack size and librsvg's recursive nature. https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1224#note_2864593 is a possible solution, worth an experiment but only if there is enough interest.
Are people familiar with the stacker crate to create temporary, allocated stacks? It is used by a bunch of stuff, so probably it is good?
Cannot open .svg file with >50 nested layers (#1224) · Issues · GNOME / librsvg · GitLab