aboutsummaryrefslogtreecommitdiff
path: root/test/py/tests/test_semihosting/test_hostfs.py
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-07-30 16:44:04 +0200
committerTom Rini <trini@konsulko.com>2023-08-14 17:55:53 -0400
commit84032b6759024337a81ae5d8e23a39110381743b (patch)
tree53774a876d57ec8557ca4c6afd9f4b8798fca186 /test/py/tests/test_semihosting/test_hostfs.py
parent688d62bfc8e336b06b5d6c445333dc04f1283d8d (diff)
fs: fat: avoid multiplication overflow
The product of two 32 bit integers is a 32 bit integer. Hence clustcount * bytesperclust may overflow on > 4 GiB devices. Change the type of clustcount. Fixes: cb8af8af5ba0 ("fs: fat: support write with non-zero offset") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'test/py/tests/test_semihosting/test_hostfs.py')
0 files changed, 0 insertions, 0 deletions