linux/fs/orangefs
Mike Marshall 74159d409d orangefs: fix out-of-bounds fsid access
[ Upstream commit 53e4efa470 ]

Arnd Bergmann sent a patch to fsdevel, he says:

"orangefs_statfs() copies two consecutive fields of the superblock into
the statfs structure, which triggers a warning from the string fortification
helpers"

Jan Kara suggested an alternate way to do the patch to make it more readable.

I ran both ideas through xfstests and both seem fine. This patch
is based on Jan Kara's suggestion.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-11 12:47:08 +02:00
..
acl.c vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
dcache.c fs: orangefs: fix error return code of orangefs_revalidate_lookup() 2021-10-11 14:25:34 -04:00
devorangefs-req.c
dir.c Orangefs: change iterate to iterate_shared 2022-10-03 13:05:38 -04:00
downcall.h
file.c orangefs: use ->f_mapping 2022-09-01 17:46:06 -04:00
inode.c use less confusing names for iov_iter direction initializers 2023-02-09 11:28:04 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
namei.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
orangefs-bufmap.c orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc() 2021-12-31 14:37:43 -05:00
orangefs-bufmap.h orangefs: copy Orangefs-sized blocks into the pagecache if possible. 2019-05-03 14:32:39 -04:00
orangefs-cache.c
orangefs-debug.h
orangefs-debugfs.c orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init() 2022-12-31 13:33:06 +01:00
orangefs-debugfs.h orangefs: fix build warning from debugfs cleanup patch 2019-07-04 10:30:33 +02:00
orangefs-dev-proto.h
orangefs-kernel.h vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
orangefs-mod.c orangefs: Fix sysfs not cleanup when dev init failed 2022-12-31 13:32:37 +01:00
orangefs-sysfs.c orangefs: Fix kmemleak in orangefs_sysfs_init() 2022-12-31 13:33:06 +01:00
orangefs-sysfs.h
orangefs-utils.c orangefs_inode_is_stale(): i_mode type bits do *not* form a bitmap... 2021-03-12 22:15:17 -05:00
protocol.h
super.c orangefs: fix out-of-bounds fsid access 2024-07-11 12:47:08 +02:00
symlink.c
upcall.h
waitqueue.c orangefs: service ops done for writeback are not killable 2019-05-03 14:32:38 -04:00
xattr.c acl: handle idmapped mounts 2021-01-24 14:27:17 +01:00