linux/fs/ntfs3
Konstantin Komarov 302e9dca84
fs/ntfs3: Break dir enumeration if directory contents error
If we somehow attempt to read beyond the directory size, an error
is supposed to be returned.

However, in some cases, read requests do not stop and instead enter
into a loop.

To avoid this, we set the position in the directory to the end.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Cc: stable@vger.kernel.org
2024-05-24 12:50:12 +03:00
..
lib
attrib.c fs/ntfs3: Always make file nonresident on fallocate call 2024-04-23 09:34:25 +03:00
attrlist.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-01-16 11:31:56 +03:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Use kvfree to free memory allocated by kvmalloc 2024-01-16 11:31:56 +03:00
debug.h
dir.c fs/ntfs3: Break dir enumeration if directory contents error 2024-05-24 12:50:12 +03:00
file.c fs/ntfs3: Always make file nonresident on fallocate call 2024-04-23 09:34:25 +03:00
frecord.c fs/ntfs3: use kcalloc() instead of kzalloc() 2024-04-17 15:06:27 +03:00
fslog.c fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow 2024-04-23 09:34:23 +03:00
fsntfs.c fs/ntfs3: Prevent generic message "attempt to access beyond end of device" 2024-01-29 10:48:33 +03:00
index.c fs/ntfs3: Fix case when index is reused during tree transformation 2024-05-24 12:50:12 +03:00
inode.c fs/ntfs3: Redesign ntfs_create_inode to return error code instead of inode 2024-04-23 09:34:24 +03:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
lznt.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
Makefile
namei.c fs/ntfs3: Redesign ntfs_create_inode to return error code instead of inode 2024-04-23 09:34:24 +03:00
ntfs.h fs/ntfs3: Use variable length array instead of fixed size 2024-04-23 09:34:24 +03:00
ntfs_fs.h fs/ntfs3: Always make file nonresident on fallocate call 2024-04-23 09:34:25 +03:00
record.c fs/ntfs3: Taking DOS names into account during link counting 2024-04-23 09:34:20 +03:00
run.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
super.c fs/ntfs3: Remove max link count info display during driver init 2024-04-23 09:34:22 +03:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c fs/ntfs3: Mark volume as dirty if xattr is broken 2024-04-23 09:34:25 +03:00