diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-02-06 16:39:28 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-02-06 16:39:28 +0100 |
commit | 2f1398291bf35fe027914ae7a9610d8e601fbfde (patch) | |
tree | bf2d245ba2d6ea3937423cc5080228474b759a76 /drivers/base/devcon.c | |
parent | f658adeea45e430a24c7a157c3d5448925ac2038 (diff) |
fuse: don't overflow LLONG_MAX with end offset
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>
Diffstat (limited to 'drivers/base/devcon.c')
0 files changed, 0 insertions, 0 deletions