Skip to content

u2fhid: count received payload bytes during reassembly - #194

Open
benma-agent wants to merge 1 commit into
BitBoxSwiss:masterfrom
benma-agent:benma-agent/u2fhid-short-read
Open

benma-agent wants to merge 1 commit into
BitBoxSwiss:masterfrom
benma-agent:benma-agent/u2fhid-short-read

Conversation

@benma-agent

Copy link
Copy Markdown
Contributor

Short initial HID reads must not count missing payload bytes as received.
Use the accumulated payload length to determine completion, preventing
premature returns and out-of-bounds slices. Correct the continuation-header
length error message.

Short initial HID reads must not count missing payload bytes as received.
Use the accumulated payload length to determine completion, preventing
premature returns and out-of-bounds slices. Correct the continuation-header
length error message.
@benma
benma requested a review from NickeZ October 30, 2026 21:51
@benma
benma marked this pull request as ready for review October 30, 2026 21:51
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