cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157A-EV1,SD HAL library bug

李放.1
Associate II

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;
      }

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi,

Sorry for late reply and miss of this post.

Thanks to raise this up !

Issue escalated for fix in next release

Olivier

Olivier GALLIEN
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.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi,

Sorry for late reply and miss of this post.

Thanks to raise this up !

Issue escalated for fix in next release

Olivier

Olivier GALLIEN
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.