88b2e9b063
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
balloc.c | ||
cylinder.c | ||
dir.c | ||
file.c | ||
ialloc.c | ||
inode.c | ||
namei.c | ||
super.c | ||
swab.h | ||
ufs.h | ||
ufs_fs.h | ||
util.c | ||
util.h |