summaryrefslogtreecommitdiff
path: root/fs/ntfs
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-02-06 18:39:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 10:37:03 +0300
commit399ca7ee91300129eb0f5d0cba9c0aeba00908c3 (patch)
tree52a785c3f9864f72cd463b87a78dd5a0448091ec /fs/ntfs
parent77912b69a989629c72922df67d27bcabdd80832a (diff)
downloadlinux-399ca7ee91300129eb0f5d0cba9c0aeba00908c3.tar.xz
fuse: don't overflow LLONG_MAX with end offset
[ Upstream commit 2f1398291bf35fe027914ae7a9610d8e601fbfde ] Handle the special case of fuse_readpages() wanting to read the last page of a hugest file possible and overflowing the end offset in the process. This is basically to unbreak xfstests:generic/525 and prevent filesystems from doing bad things with an overflowing offset. Reported-by: Xiao Yang <ice_yangxiao@163.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions