mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
The 64 bit ino is being compared to the product of two u32 values,
however, the multiplication is being performed using a 32 bit multiply so
there is a potential of an overflow. To be fully safe, cast uspi->s_ncg
to a u64 to ensure a 64 bit multiplication occurs to avoid any chance of
overflow.
Fixes:
|
||
|---|---|---|
| .. | ||
| balloc.c | ||
| cylinder.c | ||
| dir.c | ||
| file.c | ||
| ialloc.c | ||
| inode.c | ||
| Kconfig | ||
| Makefile | ||
| namei.c | ||
| super.c | ||
| swab.h | ||
| ufs_fs.h | ||
| ufs.h | ||
| util.c | ||
| util.h | ||