linebender / linebender/resvg

panic in filter::apply_composite

Open
#659 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
4.1k
Forks
348
Avg merge
1d 14h
Merged PRs (30d)
3

Description

Panic inside filter::apply_composite, root cause maybe dest pixmap allocated with wrong size.
SVG file:
![feComposite_panic](https://github.com/RazrFalcon/resvg/assets/374280/f3a3033a-5830-4dd0-a075-e91ac470dadc)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating filter::apply_composite and reproduce the panic with the SVG file referenced in the issue. Trace the destination pixmap allocation and identify the size mismatch causing the panic; done means the SVG renders without a panic and the regression is covered by the repository's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.