Skip to content

Conversation

nicholasbishop
Copy link
Member

The buffer is supposed to contain both the header and data, so adding buffer.len() + header_size tells the firmware the wrong size of the packet.

Fixes #1549

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

The buffer is supposed to contain both the header and data, so adding
`buffer.len() + header_size` tells the firmware the wrong size of the packet.
@phip1611 phip1611 added this pull request to the merge queue Feb 17, 2025
Merged via the queue into rust-osdev:main with commit 470a1ed Feb 17, 2025
16 checks passed
@nicholasbishop nicholasbishop deleted the bishop-fix-snp-len branch February 17, 2025 21:10
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.

SimpleNetworks transmit passes too long buffer to SNP protocol.

2 participants