Sean Dewar
6cb1c82840
patch 9.1.1361: [security]: possible use-after-free when closing a buffer
...
Problem: [security]: Possible to open more windows into a closing
buffer without splitting, bypassing existing "b_locked_split"
checks and triggering use-after-free
Solution: Disallow switching to a closing buffer. Editing a closing
buffer (via ":edit", etc.) was fixed in v9.1.0764, but add an
error message and check just "b_locked_split", as "b_locked"
is necessary only when the buffer shouldn't be wiped, and may
be set for buffers that are in-use but not actually closing.
(Sean Dewar)
closes : #17246
Signed-off-by: Sean Dewar <6256228+seandewar@users.noreply.github.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2025-05-03 18:37:27 +02:00
..
2025-03-24 20:36:14 +01:00
2023-03-19 21:23:38 +00:00
2023-04-23 17:50:22 +01:00
2025-05-03 18:37:27 +02:00
2025-02-23 09:09:59 +01:00
2022-11-30 18:12:19 +00:00
2025-03-24 20:36:14 +01:00
2023-02-20 12:16:39 +00:00
2025-04-23 20:50:23 +02:00
2024-05-20 19:18:26 +02:00
2023-04-23 17:50:22 +01:00
2023-12-05 16:04:23 +01:00
2024-01-01 20:19:09 +01:00
2025-01-02 18:06:00 +01:00
2025-03-26 19:46:09 +01:00
2023-05-27 22:22:10 +01:00
2025-02-22 09:19:04 +01:00
2025-03-18 20:49:01 +01:00
2025-03-24 20:36:14 +01:00
2022-11-21 19:57:04 +00:00
2025-03-23 16:42:16 +01:00
2024-04-21 14:45:48 +02:00
2024-11-02 18:43:42 +01:00
2025-01-09 22:14:34 +01:00
2024-10-08 22:24:04 +02:00
2024-06-03 23:01:40 +02:00
2025-03-24 20:36:14 +01:00
2025-02-18 20:45:48 +01:00
2025-03-26 18:46:21 +01:00
2025-03-24 20:36:14 +01:00
2024-01-29 20:18:22 +01:00
2023-02-21 14:27:41 +00:00
2022-12-20 20:01:58 +00:00
2023-02-20 12:16:39 +00:00
2022-11-15 17:43:36 +00:00
2023-02-20 12:16:39 +00:00
2022-11-25 16:31:51 +00:00
2025-03-24 20:36:14 +01:00
2023-02-22 13:14:36 +00:00
2024-11-06 21:53:07 +01:00
2024-11-06 21:53:07 +01:00
2024-10-22 22:59:39 +02:00
2025-04-24 21:48:35 +02:00
2025-01-12 09:58:00 +01:00
2025-03-23 16:42:16 +01:00
2022-11-30 18:12:19 +00:00
2025-02-10 21:12:19 +01:00
2023-02-20 12:16:39 +00:00
2025-03-24 20:36:14 +01:00
2025-03-24 20:36:14 +01:00
2024-07-25 20:58:42 +02:00
2024-12-06 17:26:25 +01:00
2024-10-27 21:54:11 +01:00
2024-09-04 22:10:34 +02:00
2023-10-15 10:03:30 +02:00
2025-03-24 20:36:14 +01:00
2025-03-24 20:36:14 +01:00
2024-02-21 00:02:45 +01:00
2025-04-06 17:20:39 +02:00
2025-04-24 21:48:35 +02:00
2023-04-19 20:28:48 +01:00
2025-04-17 20:35:42 +02:00
2025-03-24 20:36:14 +01:00
2023-10-04 20:05:05 +02:00
2025-03-24 20:36:14 +01:00
2025-04-07 21:19:07 +02:00
2022-09-20 13:51:25 +01:00
2024-03-16 15:03:33 +01:00
2025-01-02 18:06:00 +01:00
2025-03-24 20:36:14 +01:00
2024-07-06 18:04:09 +02:00
2022-10-08 13:50:05 +01:00
2024-10-14 20:21:48 +02:00
2025-03-24 20:36:14 +01:00
2022-10-14 17:04:09 +01:00
2025-03-24 20:36:14 +01:00
2025-03-24 20:36:14 +01:00
2023-10-14 11:46:51 +02:00
2025-03-23 16:42:16 +01:00
2022-12-02 20:46:26 +00:00
2022-10-07 11:20:29 +01:00
2025-03-23 16:42:16 +01:00
2025-03-23 16:42:16 +01:00
2022-11-15 17:43:36 +00:00
2025-03-24 20:36:14 +01:00
2022-11-02 13:30:51 +00:00
2025-03-24 20:36:14 +01:00
2025-03-24 20:36:14 +01:00
2025-03-18 22:14:34 +01:00
2025-05-01 08:56:39 +02:00
2024-01-01 20:19:09 +01:00
2025-02-25 20:29:50 +01:00
2025-03-23 16:42:16 +01:00
2023-05-19 19:01:17 +01:00
2025-03-23 16:42:16 +01:00
2025-04-19 11:14:11 +02:00