Constant rsvg::limits::MAX_LOADED_ATTRIBUTES
source · pub const MAX_LOADED_ATTRIBUTES: usize = _; // 65_535usize
Expand description
Maximum number of attributes per XML element.
A malicious file could have <foo attr1="blah" attr2="blah" attr3="blah"/>
,
etc. Librsvg puts this limit on how many attributes an element can have.