diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-16 06:47:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-16 06:47:51 +0800 |
| commit | d2d1b5e944b5888f3237d48e1a88aa6c8e156edc (patch) | |
| tree | 4f6805360864d86ebcfc686b36582aef1b3e1f22 /runtime/lua/_vim9script.lua | |
| parent | 5333d6371bfa2fe048e5d99e0e843657b3b0e33f (diff) | |
| download | rneovim-d2d1b5e944b5888f3237d48e1a88aa6c8e156edc.tar.gz rneovim-d2d1b5e944b5888f3237d48e1a88aa6c8e156edc.tar.bz2 rneovim-d2d1b5e944b5888f3237d48e1a88aa6c8e156edc.zip | |
vim-patch:9.1.1303: missing out-of-memory check in linematch.c (#33487)
Problem: missing out-of-memory check in linematch.c
Solution: return early in case of memory allocation failure, move the
pow() calculation ouside of the for() loop
(John Marriott)
closes: vim/vim#17118
https://github.com/vim/vim/commit/2137710b436e481168382c50aa4838a4b9730163
Co-authored-by: John Marriott <basilisk@internode.on.net>
Diffstat (limited to 'runtime/lua/_vim9script.lua')
0 files changed, 0 insertions, 0 deletions