diff options
author | Christian Brabandt <cb@256bit.org> | 2023-11-14 19:31:34 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-11-16 22:04:00 +0100 |
commit | 25aabc2b8ee1e19ced6f4da9d866cf9378fc4c5a (patch) | |
tree | 9b56e90635d6bc6b124bda1d179348bcd6a2cf8d /src/testdir/crash | |
parent | 67abf1592c83c910c7815478f67e0a8989d51417 (diff) |
patch 9.0.2106: [security]: Use-after-free in win_close()v9.0.2106
Problem: [security]: Use-after-free in win_close()
Solution: Check window is valid, before accessing it
If the current window structure is no longer valid (because a previous
autocommand has already freed this window), fail and return before
attempting to set win->w_closing variable.
Add a test to trigger ASAN in CI
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/crash')
-rw-r--r-- | src/testdir/crash/poc1 | bin | 0 -> 3264 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/src/testdir/crash/poc1 b/src/testdir/crash/poc1 Binary files differnew file mode 100644 index 0000000000..ec223f16b8 --- /dev/null +++ b/src/testdir/crash/poc1 |