diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2025-08-12 14:07:54 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-08-26 12:43:31 +0200 |
commit | e5203209b3935041dac541bc5b37efb44220cc0b (patch) | |
tree | 2bf07823ccc8ef0b9138501250fd9faa9f7da1a4 /tools/perf/scripts/python/libxed.py | |
parent | e9c8da670e749f7dedc53e3af54a87b041918092 (diff) |
fuse: check if copy_file_range() returns larger than requested size
Just like write(), copy_file_range() should check if the return value is
less or equal to the requested number of bytes.
Reported-by: Chunsheng Luo <luochunsheng@ustc.edu>
Closes: https://lore.kernel.org/all/20250807062425.694-1-luochunsheng@ustc.edu/
Fixes: 88bc7d5097a1 ("fuse: add support for copy_file_range()")
Cc: <stable@vger.kernel.org> # v4.20
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions