zephyr/subsys/disk
Maureen Helm aa9b762d12 disk: Fix usdhc driver out-of-bounds array access
The usdhc driver was incorrectly post-decrementing a do/while loop
iterator, causing an extra iteration of the loop and an out-of-bounds
array access. Change the iterator to decrement within the loop instead.

Tested samples/subsys/fs/fat_fs on the mimxrt1050_evk board.

Coverity-CID: 203403

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-08-30 16:57:55 +02:00
..
CMakeLists.txt
disk_access_flash.c
disk_access_ram.c
disk_access_sdhc.h
disk_access_spi_sdhc.c
disk_access_usdhc.c disk: Fix usdhc driver out-of-bounds array access 2019-08-30 16:57:55 +02:00
disk_access.c
fat12_ramdisk.h
Kconfig disk: kconfig: Remove redundant DISK_ACCESS_SDHC dependency 2019-08-07 04:27:15 -04:00