Skip to content

Conversation

@csanchezdll
Copy link
Contributor

Summary

This problem was introduced in #16199

In that PR, the assignment of "ret" variable was removed so now this variable might be used in uninitialized status when ioctl(...SIOCSCANBITRATE...) is called.

Impact

ioctl calls for CAN interfaces on stm32h7 can return as failed when they effectively succeeded.

Testing

The error was found due to a compiler warning after the previous PR was already merged.

This problem was introduced in apache#16199

Signed-off-by: Carlos Sanchez <carlossanchez@geotab.com>
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Apr 16, 2025
@xiaoxiang781216 xiaoxiang781216 merged commit 8f1d670 into apache:master Apr 16, 2025
25 checks passed
@csanchezdll csanchezdll deleted the SIOCSCANBITRATE_no_ifup_unassigned_ret branch July 3, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture 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.

2 participants