RTEMS | cpukit/can: Fix out-of-bounds array access in ctucanfd (!1085)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Feb 26 16:15:51 UTC 2026




Gedare Bloom started a new discussion on cpukit/dev/can/ctucanfd/ctucanfd.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1085#note_143557

 >        /* Abort all filled HW buffers. */
 >        for ( int i = 0; i < internal->txb_prio_tail[ 0 ]; i++ ) {
 >          txtb_id = ctucanfd_txb_from_order( internal->txb_order, i );
 > -
 > +        

remove whitespace change. Make sure formatting is clean with [`clang-format`](https://users.rtems.org/t/using-clang-format-on-rtems-git/454).

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1085#note_143557
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260226/8c771524/attachment.htm>


More information about the bugs mailing list