]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0309: crash when 'textwidth' > MAX_INT v9.1.0309
authorChristian Brabandt <cb@256bit.org>
Thu, 11 Apr 2024 20:54:44 +0000 (22:54 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 11 Apr 2024 20:54:44 +0000 (22:54 +0200)
commitbba79808cb115d4f54063e8aa40628a927eab44e
treebb366b70f555f943ebd425eae06da59d96198386
parent7b0c4b64e3012c24b928a4452963d53cae147a51
patch 9.1.0309: crash when 'textwidth' > MAX_INT

Problem:  crash when 'textwidth' > MAX_INT (after vv9.1.0055)
          (Zoltan Balogh)
Solution: limit textwidth to MAX_INT

fixes: #14482
closes: #14489

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_textformat.vim
src/textformat.c
src/version.c