[PATCH v2 0/3] fuse copy_file_range() fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix 32 bit overflow issues.

v2:
  - check for return value not exceeding requested size [1/3]
  - split patch: limit copy size for old API [2/3], add new API [3/3]

Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx>
---
Miklos Szeredi (3):
  fuse: check if copy_file_range() returns larger than requested size
  fuse: prevent overflow in copy_file_range return value
  fuse: add COPY_FILE_RANGE_64 that allows large copies

 fs/fuse/file.c            | 39 +++++++++++++++++++++++++++++++--------
 fs/fuse/fuse_i.h          |  3 +++
 include/uapi/linux/fuse.h | 12 +++++++++++-
 3 files changed, 45 insertions(+), 9 deletions(-)

-- 
2.49.0





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux