Releases
0.4.1
Compare
Sorry, something went wrong.
No results found
iliaal
released this
30 Aug 18:12
Security
svgTo*() reject caller SVG whose element-count times output-pixels exceeds a render-work budget (CPU exhaustion past the complexity caps).
Dashed strokes with non-finite or float32-frozen segment lengths no longer loop unbounded; a per-path budget caps the dashed clone.
Curve flattening is bounded per-cubic and per-path, so many non-converging cubics can no longer drive billions of subdivisions.
A single path d attribute is capped in element count; the partial prefix still renders (SVG path-data error handling).
The scanline rasterizer no longer truncates the scanline index to 32 bits (out-of-bounds access on path coordinates at multiples of 2^32).
Decompression-bomb PNGs via setBackgroundImage() / addIconAt() decode into a fixed IHDR-sized buffer instead of inflating to ~2 GiB.
Scan-less or truncated JPEGs no longer leak recycled worker heap bytes; decoder component planes are zero-initialized.
You can’t perform that action at this time.