You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In function UINT _lx_nor_flash_block_reclaim(LX_NOR_FLASH *nor_flash)
A call is made to _lx_nor_flash_next_block_to_erase_find where the return status is not checked,
this result in that erase_block, erase_count, mapped_sectors, obsolete_sectors variables are unassigned,
and later used.
I would suggest a status handling like the one done in the same function when _lx_nor_flash_driver_write is called.
The text was updated successfully, but these errors were encountered:
In function UINT _lx_nor_flash_block_reclaim(LX_NOR_FLASH *nor_flash)
A call is made to _lx_nor_flash_next_block_to_erase_find where the return status is not checked,
this result in that erase_block, erase_count, mapped_sectors, obsolete_sectors variables are unassigned,
and later used.
I would suggest a status handling like the one done in the same function when _lx_nor_flash_driver_write is called.
The text was updated successfully, but these errors were encountered: