Skip to content

Fix NotEnough off-by-one#27

Merged
NicolasDP merged 1 commit into
primetype:masterfrom
dcSpark:not-enough-fix
Jul 8, 2026
Merged

Fix NotEnough off-by-one#27
NicolasDP merged 1 commit into
primetype:masterfrom
dcSpark:not-enough-fix

Conversation

@SebastienGllmt

Copy link
Copy Markdown
Contributor

Close #4

Note: I didn't take the needed_index approach mentioned in #4 as that fixes the issue in Deserializer::get, but other constructs compute NotEnough from byte counts, not indexes

@NicolasDP
NicolasDP merged commit 069963c into primetype:master Jul 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Off-by-one error in Error::NotEnough

2 participants