jwmcglynn / donner

Donner SVG, a modern C++20 SVG rendering library supporting the latest SVG2 and CSS3 standards
https://jwmcglynn.github.io/donner/
ISC License
13 stars 1 forks source link

Resilience to bad inputs #188

Closed jwmcglynn closed 4 weeks ago

jwmcglynn commented 4 months ago

When given bad SVG files, Donner should reject them and not stack overflow or consume huge amounts of memory.

jwmcglynn commented 1 month ago

https://github.com/jwmcglynn/donner/commit/e1627fa1841e1e3c62a2da8aabd2c3a9d555dd57 and https://github.com/jwmcglynn/donner/commit/b26b3ff6fad80a052de22f256725b7c8e1b7b400 add fuzzer support for whole-SVG parsing.