Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exfat: fix overflow issue in exfat_cluster_to_sector()
An overflow issue can occur while calculating sector in exfat_cluster_to_sector(). It needs to cast clus's type to sector_t before left shifting. Fixes: 1acf1a5 ("exfat: add in-memory and on-disk structures and headers") Cc: [email protected] # v5.7 Reviewed-by: Sungjong Seo <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
- Loading branch information