]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1260: Hang when filtering buffer with NUL bytes v9.1.1260
authorzeertzjq <zeertzjq@outlook.com>
Sun, 30 Mar 2025 13:01:56 +0000 (15:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 30 Mar 2025 13:01:56 +0000 (15:01 +0200)
commit53fed23cb7bd59d9400961b44c6c8dca0029c929
tree82bf9f5a4ee4760d79e4cf6b9ac94cf53f1184c3
parente9a369f9c3893846cb720905d171b6774b1d658b
patch 9.1.1260: Hang when filtering buffer with NUL bytes

Problem:  Hang when filtering buffer with NUL bytes (after 9.1.1050).
Solution: Don't subtract "written" from "lplen" repeatedly (zeertzjq).

related: neovim/neovim#33173
closes: #17011

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_unix.c
src/testdir/test_shell.vim
src/version.c