RTEMS | stm32h7-hal: Refactor clock and UART handling (!1156)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Mar 26 03:26:19 UTC 2026
Kinsey Moore started a new discussion on bsps/arm/stm32h7/start/stm32h7-hal.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1156#note_147094
> 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]))) {
Are you sure this adheres to RTEMS formatting guidelines?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1156#note_147094
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/e6fdbb7d/attachment.htm>
More information about the bugs
mailing list