diff options
author | Mike Marshall <hubcap@omnibond.com> | 2024-05-01 23:20:36 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2024-05-06 17:10:36 +0300 |
commit | 53e4efa470d5fc6a96662d2d3322cfc925818517 (patch) | |
tree | 4b191bdccc3c3f9c429cb67e822a7506d19a1915 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | dd5a440a31fae6e459c0d6271dddd62825505361 (diff) | |
download | linux-53e4efa470d5fc6a96662d2d3322cfc925818517.tar.xz |
orangefs: fix out-of-bounds fsid access
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions