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 usdhc: support NXP i.MXRT usdhc 2019-07-10 11:58:15 -05:00
Kconfig disk: kconfig: Remove redundant DISK_ACCESS_SDHC dependency 2019-08-07 04:27:15 -04:00
disk_access.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
disk_access_flash.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
disk_access_ram.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
disk_access_sdhc.h sdhc: rename disk_access_sdhc.c 2019-07-10 11:58:15 -05:00
disk_access_spi_sdhc.c disk: fixing the sending of commands with r1 response 2019-08-01 11:52:57 -04:00
disk_access_usdhc.c disk: Fix usdhc driver out-of-bounds array access 2019-08-30 16:57:55 +02:00
fat12_ramdisk.h