Skip to content

{bp-19164} drivers/can/ctucanfd_pci: Fix Malformed CAN Data Msg (address off-by-one)#19218

Merged
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19164
Jun 26, 2026
Merged

{bp-19164} drivers/can/ctucanfd_pci: Fix Malformed CAN Data Msg (address off-by-one)#19218
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19164

Conversation

@jerpelea

Copy link
Copy Markdown
Contributor

Summary

PR #19139 addresses the issue, but there is one minor problem. In the for loop the element i+1 is written which means there can still be an overflow by one element (uint32_t or 4 bytes).

Addressing here with this PR.

Tested locally, builds fine.

Impact

RELEASE

Testing

CI

…one)

PR apache#19139 addresses the issue, but there
is one minor problem. In the for loop the element `i+1` is written which
means there can still be an overflow by one element (uint32_t or 4 bytes).

Addressing here with this PR.

Tested locally, builds fine.

Signed-off-by: Catalin Visinescu <catalin_visinescu@yahoo.com>
@jerpelea jerpelea requested review from raiden00pl and yf13 as code owners June 26, 2026 00:53
@github-actions github-actions Bot added Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small labels Jun 26, 2026
@xiaoxiang781216 xiaoxiang781216 merged commit 63c095f into apache:releases/13.0 Jun 26, 2026
11 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Drivers Drivers issues Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants