Skip to content
Commit 7c6d3a6f authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

fs: ext2: Fix potential integer overflow in disk access size calculation



Cast sector_count and sector_size to uint64_t to prevent potential
integer overflow when calculating total device size in
disk_access_device_size().

Fixes Coverity issue CID-322647

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent ab9a2f52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment