summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-08-16 17:30:25 +0100
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-08-27 17:05:10 +0300
commit71eeb6ace80be7389d942b9647765417e5b039f7 (patch)
tree1445c0fd8c145c02786f3cab2ef6ed814b11ccb8 /tools/perf/scripts/python/exported-sql-viewer.py
parent87790b65343932411af43bc9b218f086ecebd6a5 (diff)
fs/ntfs3: Fix integer overflow in multiplication
The multiplication of the u32 data_size with a int is being performed using 32 bit arithmetic however the results is being assigned to the variable nbits that is a size_t (64 bit) value. Fix a potential integer overflow by casting the u32 value to a size_t before the multiply to use a size_t sized bit multiply operation. Addresses-Coverity: ("Unintentional integer overflow") Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions