JuliaIO / JuliaIO/TranscodingStreams.jl
Add more bound checking for `Buffer`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 90
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
This would have mitigated the effect of #186
Since Buffer already has an internal Vector{UInt8} it already does bounds checking, it is just not the correct bounds.
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 reading issue #186 and locating the Buffer implementation in TranscodingStreams.jl. Determine which bounds are currently checked by the internal Vector{UInt8} and which bounds are expected for Buffer operations. Done means the relevant bounds are enforced and regression coverage demonstrates that the effect described in #186 is mitigated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100