Mercurial > vim
comparison src/errors.h @ 23869:5a4f9c5c1b99 v8.2.2476
patch 8.2.2476: using freed memory when splitting window while closing buffer
Commit: https://github.com/vim/vim/commit/983d83ff1cd796ff321074335fa53fbe7ac45a46
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 12:12:43 2021 +0100
patch 8.2.2476: using freed memory when splitting window while closing buffer
Problem: Using freed memory when using an autocommand to split a window
while a buffer is being closed.
Solution: Disallow splitting when the buffer has b_locked_split set.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Feb 2021 12:15:03 +0100 |
parents | 525c9e218c69 |
children | 85cf06ddb2a8 |
comparison
equal
deleted
inserted
replaced
23868:1a97398d5e5a | 23869:5a4f9c5c1b99 |
---|---|
351 INIT(= N_("E1156: Cannot change the argument list recursively")); | 351 INIT(= N_("E1156: Cannot change the argument list recursively")); |
352 EXTERN char e_missing_return_type[] | 352 EXTERN char e_missing_return_type[] |
353 INIT(= N_("E1157: Missing return type")); | 353 INIT(= N_("E1157: Missing return type")); |
354 EXTERN char e_cannot_use_flatten_in_vim9_script[] | 354 EXTERN char e_cannot_use_flatten_in_vim9_script[] |
355 INIT(= N_("E1158: Cannot use flatten() in Vim9 script")); | 355 INIT(= N_("E1158: Cannot use flatten() in Vim9 script")); |
356 EXTERN char e_cannot_split_window_when_closing_buffer[] | |
357 INIT(= N_("E1159: Cannot split a window when closing the buffer")); |