Skip to content

Commit 2e58b76

Browse files
seandewarchrisbra
authored andcommitted
patch 9.1.1564: crash when opening popup to closing buffer
Problem: Can open a popup window to a closing buffer, leading to the buffer remaining open in the window after it's soon unloaded, causing crashes. Solution: Check b_locked_split when opening a popup window to an existing buffer (Sean Dewar). closes: #17790 Signed-off-by: Sean Dewar <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent be863b2 commit 2e58b76

5 files changed

Lines changed: 3095 additions & 1 deletion

File tree

src/errors.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3742,3 +3742,7 @@ EXTERN char e_cannot_have_more_than_nr_diff_anchors[]
37423742
EXTERN char e_failed_to_find_all_diff_anchors[]
37433743
INIT(= N_("E1550: Failed to find all diff anchors"));
37443744
#endif
3745+
#ifdef FEAT_PROP_POPUP
3746+
EXTERN char e_cannot_open_a_popup_window_to_a_closing_buffer[]
3747+
INIT(= N_("E1551: Cannot open a popup window to a closing buffer"));
3748+
#endif

0 commit comments

Comments
 (0)