Freeze when trying to render some svg
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 348
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
File content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):
```
```
command
```
timeout -v 100 resvg TEST___FILE.svg
```
cause this
```
timeout: sending signal TERM to command ‘resvg’
##### Automatic Fuzzer note, output status "Some(124)", output signal "None"
```
[compressed.zip](https://github.com/user-attachments/files/21315774/compressed.zip)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the hang with the SVG content in the issue and the provided `timeout -v 100 resvg TEST___FILE.svg` command. Trace the rendering path reached by this malformed SVG and identify why it does not terminate; done means the input completes without freezing and the behavior is covered by a regression test.
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
- Mostly clear
- Newbie friendliness
- 35/100