diff options
author | 2022-07-28 10:01:26 +0800 | |
---|---|---|
committer | 2022-09-04 09:38:40 +0900 | |
commit | 2e9ceb6728f1dc2fa4b5d08f37d88cbc49a20a62 (patch) | |
tree | 58caa767853b6eff8165198cd51ec63891940be0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Merge tag 'net-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | linux-dev-2e9ceb6728f1dc2fa4b5d08f37d88cbc49a20a62.tar.xz linux-dev-2e9ceb6728f1dc2fa4b5d08f37d88cbc49a20a62.zip |
exfat: fix overflow for large capacity partition
Using int type for sector index, there will be overflow in a large
capacity partition.
For example, if storage with sector size of 512 bytes and partition
capacity is larger than 2TB, there will be overflow.
Fixes: 1b6138385499 ("exfat: reduce block requests when zeroing a cluster")
Cc: stable@vger.kernel.org # v5.19+
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions