RTEMS | stm32h7-hal: Refactor clock and UART handling (!1156)
Mohamed Ayman (@mohamedayman23)
gitlab at rtems.org
Thu Mar 26 04:30:44 UTC 2026
Mohamed Ayman commented on a discussion on bsps/arm/stm32h7/start/stm32h7-hal.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1156#note_147147
> uint32_t enable_bit;
> rtems_interrupt_level level;
>
> + /* Check for bounds to prevent array overflow */
> + if (index >= (sizeof(stm32h7_clk_low_power) / sizeof(stm32h7_clk_low_power[0]))) {
I read 6.3.2, so kindly check this format
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1156#note_147147
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/20260326/521a0e94/attachment-0001.htm>
More information about the bugs
mailing list