Heinrich Schuchardt 84032b6759 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>
2023-08-14 17:55:53 -04:00
..
2023-06-06 10:37:25 +02:00
2020-05-18 21:19:18 -04:00
2022-04-25 10:00:04 -04:00
2022-04-01 15:03:13 -04:00