Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

padding bytes in mcp2518fd_TransmitChannelLoad method is written into wrong locations #128

Open
AntDeM opened this issue Oct 12, 2021 · 1 comment
Labels
Seeed_Arduino_CAN Label for Seeed_Arduino_CAN UAY Unassigned yet

Comments

@AntDeM
Copy link

AntDeM commented Oct 12, 2021

Padding bytes added to write a multiple of 4 bytes into RAM is written to wrong location because the offset of 8 is added two times:

The worst case is when txdNumBytes is greater than 56. In this case txBuffer is written out of bounds.

@Pillar1989
Copy link
Member

@thePapero welcome to send PR to us. we hope your name appears in the code commit history.

@MatthewJeffson MatthewJeffson added UAY Unassigned yet Seeed_Arduino_CAN Label for Seeed_Arduino_CAN labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Seeed_Arduino_CAN Label for Seeed_Arduino_CAN UAY Unassigned yet
Projects
Status: No status
Development

No branches or pull requests

3 participants