Andrei Vagin
cc88b1e1ff
net: Fix TOCTOU race condition in unix_conf_op
...
The unix_conf_op function reads the size of the sysctl entry array
twice. gcc thinks that it can lead to a time-of-check to time-of-use
(TOCTOU) race condition if the array size changes between the two reads.
Fixes #2398
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2024-09-11 16:02:11 -07:00
..
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2024-09-11 16:02:11 -07:00
2023-10-22 13:29:25 -07:00
2024-09-11 16:02:11 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2020-02-04 12:39:04 -08:00
2020-02-04 12:39:04 -08:00
2024-09-11 16:02:11 -07:00
2021-09-03 10:31:00 -07:00
2017-10-17 08:40:44 +03:00
2020-10-20 00:18:24 -07:00
2017-10-17 08:40:44 +03:00
2022-04-28 17:53:52 -07:00
2023-04-15 21:17:21 -07:00
2023-10-22 13:29:25 -07:00
2023-10-22 13:29:25 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2023-10-22 13:29:25 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2022-04-28 17:53:52 -07:00
2023-10-22 13:29:25 -07:00
2022-04-28 17:53:52 -07:00
2024-09-11 16:02:11 -07:00
2017-10-17 08:40:44 +03:00
2022-04-28 17:53:52 -07:00