Skip to main content
李放.1
Associate II
Jul 24, 2020 7:46 AM UTC
Solved

STM32MP157A-EV1,SD HAL library bug

Function : uint32_t SD_UltraHighSpeed(SD_HandleTypeDef *hsd)

bug : Array Bounds Write

code :

 uint32_t SD_hs[16] = {0};
 
 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_RXFIFOHF))
 {
 for (count = 0U; count < 8U; count++)
 {
 SD_hs[(8U*loop)+count] = SDMMC_ReadFIFO(hsd->Instance);
 }
 loop += 8U;
 }

This topic has been closed for replies.
Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Sep 29, 2020 1:50 PM UTC

Hi,

Sorry for late reply and miss of this post.

Thanks to raise this up !

Issue escalated for fix in next release

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

1 reply

Olivier GALLIEN
Olivier GALLIENBest answer
ST Technical Moderator
Sep 29, 2020 1:50 PM UTC

Hi,

Sorry for late reply and miss of this post.

Thanks to raise this up !

Issue escalated for fix in next release

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.