Skip to content

fix: Expand piece request validation#129

Merged
Nehliin merged 2 commits intomasterfrom
validation-improvement
Apr 8, 2026
Merged

fix: Expand piece request validation#129
Nehliin merged 2 commits intomasterfrom
validation-improvement

Conversation

@Nehliin
Copy link
Copy Markdown
Owner

@Nehliin Nehliin commented Apr 8, 2026

As seen in #124 there are panics in the disk read logic that can happen due to invalid piece requests. These should be filtered out when received and not propagated to the file i/o code at all.

Hopefully that also fixes the crash seen by @grenade

@Nehliin Nehliin merged commit fbb3da4 into master Apr 8, 2026
3 checks passed
@Nehliin Nehliin deleted the validation-improvement branch April 8, 2026 18:31
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.

1 participant