diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-06-24 07:51:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 07:51:20 +0800 |
| commit | 7f3249fa0de06cdcf4be1ed5f260d83cd9021dee (patch) | |
| tree | 19c996f01f6ac7e75a457f04397215f1892ca7ba /runtime/syntax/java.vim | |
| parent | 69c379dc4411c254fa4536572bbef8ecd0923e3c (diff) | |
vim-patch:9.1.1476: missing out-of-memory checks in cmdexpand.c (#34624)
Problem: missing out-of-memory checks in cmdexpand.c
Solution: add missing out-of-memory checks, re-order code
(John Marriott)
This commit does the following:
- in cmdline_pum_create() add out-of-memory check call of ALLOC_MULT()
- in expand_cmdline() move check for out-of-memory to cover both
assignments of file_str
- in nextwild() don't free `p2` until after it's last use.
closes: vim/vim#17592
https://github.com/vim/vim/commit/1be5b375c4446976eb5a0a90d2cfa1d2d289a6ed
N/A patch:
vim-patch:9.1.1474: missing out-of-memory check in mark.c
Co-authored-by: John Marriott <basilisk@internode.on.net>
Diffstat (limited to 'runtime/syntax/java.vim')
0 files changed, 0 insertions, 0 deletions
