neovim/test/functional
zeertzjq 6952b1951b
vim-patch:9.0.2107: [security]: FPE in adjust_plines_for_skipcol (#26082)
Problem:  [security]: FPE in adjust_plines_for_skipcol
Solution: don't divide by zero, return zero

Prevent a floating point exception when calculating w_skipcol (which can
happen with a small window when the number option is set and cpo+=n).

Add a test to verify

cb0b99f067

Co-authored-by: Christian Brabandt <cb@256bit.org>
2023-11-17 08:40:02 +08:00
..
api docs: deprecate the "term_background" UI field 2023-11-13 19:04:47 -06:00
autocmd vim-patch:9.0.2075: TextChangedI may not always trigger (#25808) 2023-10-28 10:42:18 +08:00
core fix(defaults): set 'fsync' #26034 2023-11-14 02:56:50 -08:00
editor fix(completion): make sure the buffer name is valid (#25975) 2023-11-11 06:41:10 +08:00
ex_cmds docs: small fixes 2023-10-10 19:20:32 +02:00
fixtures build: remove PVS 2023-11-12 21:26:39 +01:00
legacy vim-patch:9.0.2107: [security]: FPE in adjust_plines_for_skipcol (#26082) 2023-11-17 08:40:02 +08:00
lua feat: add vim.text module (#26069) 2023-11-16 11:35:54 -06:00
options vim-patch:9.0.2035: [security] use-after-free with wildmenu (#25687) 2023-10-17 22:43:42 +08:00
plugin feat(lsp)!: vim.lsp.inlay_hint.get(), enable(), is_enabled() #25512 2023-11-12 04:54:27 -08:00
provider fix(messages): use "Vimscript" instead of "VimL" #24111 2023-06-22 04:09:14 -07:00
shada fix(shada): update marks when using delmarks! (#24978) 2023-09-03 10:34:09 +08:00
terminal test: use ST terminator instead of BEL in OSC sequences 2023-11-13 19:04:47 -06:00
treesitter fix(treesitter): make Visual hl work consistently with foldtext (#25484) 2023-10-03 13:07:03 +08:00
ui feat(tui): add 'termsync' option (#25871) 2023-11-14 08:53:58 -06:00
vimscript fix(context): don't leak memory on multiple invalid objects (#25979) 2023-11-11 13:10:26 +08:00
example_spec.lua
helpers.lua feat(lsp)!: vim.lsp.inlay_hint.get(), enable(), is_enabled() #25512 2023-11-12 04:54:27 -08:00
preload.lua test: remove unused variable (#21552) 2022-12-29 07:20:42 +08:00