Mercurial > vim
comparison src/version.c @ 34892:58416c1d1b94 v9.1.0309
patch 9.1.0309: crash when 'textwidth' > MAX_INT
Commit: https://github.com/vim/vim/commit/bba79808cb115d4f54063e8aa40628a927eab44e
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Apr 11 22:54:44 2024 +0200
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 11 Apr 2024 23:15:03 +0200 |
parents | a843afce8fcf |
children | 4e6b29ea6ed2 |
comparison
equal
deleted
inserted
replaced
34891:ce3e5cfe3e40 | 34892:58416c1d1b94 |
---|---|
702 NULL | 702 NULL |
703 }; | 703 }; |
704 | 704 |
705 static int included_patches[] = | 705 static int included_patches[] = |
706 { /* Add new patch number below this line */ | 706 { /* Add new patch number below this line */ |
707 /**/ | |
708 309, | |
707 /**/ | 709 /**/ |
708 308, | 710 308, |
709 /**/ | 711 /**/ |
710 307, | 712 307, |
711 /**/ | 713 /**/ |