microsoft / microsoft/lepton_jpeg_rust
Support for legacy files
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 182
- Forks
- 17
- Avg merge
- 19h 46m
- Merged PRs (30d)
- 1
Description
I found out that library does not support legacy Lepton files:
thread 'main' panicked at src\structs\lepton_header.rs:206:29:
attempt to subtract with overflow
It looks like it is possible to get in single-threaded mode.
Contributor guide
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 in src/structs/lepton_header.rs at the reported line 206 and reproduce the overflow while processing a legacy Lepton file. Trace the header parsing and single-threaded mode behavior; done means legacy Lepton files no longer panic and are supported successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100