Mike Marshall
b490b0a094
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>
(cherry picked from commit b90176a9553775e23966650e445b1866e62e4924)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2024-08-23 16:43:23 +00:00
..
2024-06-03 12:29:52 +00:00
2019-08-06 19:05:21 +02:00
2023-02-06 07:46:28 +01:00
2023-08-11 11:33:32 +02:00
2023-09-23 10:47:03 +02:00
2024-06-03 19:02:10 +00:00
2024-03-26 11:04:59 +00:00
2024-05-06 14:36:36 +00:00
2024-05-06 14:36:34 +00:00
2019-08-06 19:05:23 +02:00
2022-03-02 11:33:56 +01:00
2021-07-20 16:17:45 +02:00
2024-05-06 14:36:39 +00:00
2024-07-08 08:14:33 +00:00
2020-12-02 08:34:44 +01:00
2019-12-05 15:37:28 +01:00
2020-01-27 14:46:06 +01:00
2023-09-23 10:47:04 +02:00
2024-07-15 18:30:24 +00:00
2024-07-15 17:44:30 +00:00
2024-05-30 08:58:49 +00:00
2024-05-30 08:58:51 +00:00
2023-11-28 16:45:44 +00:00
2023-03-11 16:26:44 +01:00
2024-05-06 14:36:42 +00:00
2021-06-03 08:36:25 +02:00
2024-05-30 09:00:44 +00:00
2024-02-02 11:33:36 +00:00
2024-07-08 08:14:35 +00:00
2024-08-08 15:52:15 +00:00
2022-11-03 23:50:53 +09:00
2023-09-23 10:46:57 +02:00
2020-08-21 09:48:15 +02:00
2024-07-15 18:30:24 +00:00
2020-12-29 13:47:01 +01:00
2024-07-08 08:14:40 +00:00
2024-08-08 15:52:17 +00:00
2023-09-23 10:46:53 +02:00
2022-06-14 16:53:48 +02:00
2022-11-25 17:36:55 +01:00
2024-08-08 15:52:16 +00:00
2023-08-11 11:33:32 +02:00
2024-08-23 16:43:23 +00:00
2023-10-25 11:13:32 +02:00
2024-08-08 15:52:16 +00:00
2024-03-08 08:21:30 +00:00
2021-10-06 15:05:08 +02:00
2024-04-16 10:30:32 +00:00
2020-10-29 09:07:11 +01:00
2023-09-23 10:46:54 +02:00
2020-08-26 10:29:54 +02:00
2023-02-22 12:46:05 +01:00
2024-05-31 12:30:40 +00:00
2024-05-30 09:00:44 +00:00
2022-09-20 11:51:31 +02:00
2024-05-30 08:58:49 +00:00
2024-08-08 15:52:18 +00:00
2020-08-21 09:48:22 +02:00
2023-08-11 11:33:32 +02:00
2024-05-30 09:00:41 +00:00
2023-09-23 10:47:05 +02:00
2023-10-10 21:43:40 +02:00
2020-06-03 08:18:03 +02:00
2022-06-14 16:53:43 +02:00
2023-01-18 09:26:29 +01:00
2019-11-06 12:42:59 +01:00
2024-01-08 11:25:05 +01:00
2022-11-25 17:36:55 +01:00
2023-01-18 09:26:24 +01:00
2024-03-08 08:21:39 +00:00
2020-05-20 08:16:58 +02:00
2020-03-11 18:02:43 +01:00
2024-03-08 08:21:33 +00:00
2021-04-16 11:57:48 +02:00
2020-01-12 12:11:59 +01:00
2020-10-14 09:51:09 +02:00
2024-05-30 09:00:40 +00:00
2024-04-16 10:30:27 +00:00
2021-12-08 08:46:55 +01:00
2023-03-17 08:30:36 +01:00
2020-04-24 08:00:43 +02:00
2023-05-17 11:11:48 +02:00
2022-10-26 13:16:51 +02:00
2019-12-17 20:38:57 +01:00
2023-01-18 09:26:10 +01:00
2020-01-09 10:17:55 +01:00
2023-09-23 10:46:54 +02:00
2022-05-15 19:40:27 +02:00
2024-08-08 15:52:22 +00:00
2021-08-15 13:03:31 +02:00
2023-01-18 09:26:35 +01:00
2019-12-01 09:13:51 +01:00
2021-04-28 12:08:41 +02:00
2024-04-16 10:30:27 +00:00
2021-07-20 16:17:55 +02:00
2021-12-14 10:16:55 +01:00
2022-10-26 13:16:56 +02:00
2022-04-27 13:15:30 +02:00
2023-05-30 12:38:36 +01:00
2022-02-23 11:57:33 +01:00
2020-01-04 13:59:58 +01:00
2023-01-18 09:26:09 +01:00