mirror of https://gitee.com/openkylin/linux.git
a4ac9d45c0
ovl_lseek() is using ssize_t to return the value from vfs_llseek(). On a
32-bit kernel ssize_t is a 32-bit signed int, which overflows above 2 GB.
Assign the return value of vfs_llseek() to loff_t to fix this.
Reported-by: Boris Gjenero <boris.gjenero@gmail.com>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
copy_up.c | ||
dir.c | ||
export.c | ||
file.c | ||
inode.c | ||
namei.c | ||
overlayfs.h | ||
ovl_entry.h | ||
readdir.c | ||
super.c | ||
util.c |