WSL2-Linux-Kernel/fs/orangefs
Mike Marshall 137a06dc0f orangefs: fix out-of-bounds fsid access
[ Upstream commit 53e4efa470d5fc6a96662d2d3322cfc925818517 ]

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-18 13:07:29 +02:00
..
Kconfig
Makefile
acl.c
dcache.c
devorangefs-req.c
dir.c
downcall.h
file.c
inode.c
namei.c
orangefs-bufmap.c orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc() 2022-01-20 09:13:13 +01:00
orangefs-bufmap.h
orangefs-cache.c
orangefs-debug.h
orangefs-debugfs.c orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init() 2022-12-31 13:14:44 +01:00
orangefs-debugfs.h
orangefs-dev-proto.h
orangefs-kernel.h
orangefs-mod.c orangefs: Fix sysfs not cleanup when dev init failed 2022-12-31 13:14:26 +01:00
orangefs-sysfs.c
orangefs-sysfs.h
orangefs-utils.c
protocol.h
super.c orangefs: fix out-of-bounds fsid access 2024-07-18 13:07:29 +02:00
symlink.c
upcall.h
waitqueue.c
xattr.c