RTEMS | cpukit/libblock: Fixes off-by-1 and memory in flashdisk (!912)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Apr 1 18:59:00 UTC 2026
Gedare Bloom started a new discussion on cpukit/libblock/src/flashdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_147854
>
> return RTEMS_SUCCESSFUL;
> }
> +
> +static void rtems_fdisk_cleanup_helper (rtems_flashdisk *fd)
> +{
> + uint32_t device;
> +
> + if( fd == NULL ) {
> + return;
> + }
> + rtems_mutex_destroy( &fd->lock );
> +
> + if( fd->devices ) {
> + for( device = 0; device< fd->device_count; device++ ) {
run `clang-format` per 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/912#note_147854
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/20260401/32023e1b/attachment-0001.htm>
More information about the bugs
mailing list