kernel_samsung_a53x/fs/orangefs
Mike Marshall 241a348067 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-11-19 14:19:41 +01:00
..
acl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
devorangefs-req.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
downcall.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
file.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namei.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-bufmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-bufmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-dev-proto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-kernel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-mod.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-sysfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
orangefs-utils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
protocol.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
super.c orangefs: fix out-of-bounds fsid access 2024-11-19 14:19:41 +01:00
symlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
upcall.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
waitqueue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xattr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00