summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2024-05-01 16:20:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-11 12:49:08 +0200
commit6a3cacf6d3cf0278aa90392aef2fc3fe2717a047 (patch)
tree126e93849c927c37cce71d19d0dd92e2c14e11aa /lib
parent7c91479c6f83f34afd95285f86ae0a0b7c14739d (diff)
downloadlinux-6a3cacf6d3cf0278aa90392aef2fc3fe2717a047.tar.gz
linux-6a3cacf6d3cf0278aa90392aef2fc3fe2717a047.tar.bz2
linux-6a3cacf6d3cf0278aa90392aef2fc3fe2717a047.zip
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions