Mercurial > vim
comparison src/version.c @ 25733:4b2616ffe32b v8.2.3402
patch 8.2.3402: invalid memory access when using :retab with large value
Commit: https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 4 18:47:28 2021 +0200
patch 8.2.3402: invalid memory access when using :retab with large value
Problem: Invalid memory access when using :retab with large value.
Solution: Check the number is positive.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Sep 2021 19:00:03 +0200 |
parents | f35efe44dacd |
children | 07e23f808680 |
comparison
equal
deleted
inserted
replaced
25732:ce563c56a454 | 25733:4b2616ffe32b |
---|---|
753 NULL | 753 NULL |
754 }; | 754 }; |
755 | 755 |
756 static int included_patches[] = | 756 static int included_patches[] = |
757 { /* Add new patch number below this line */ | 757 { /* Add new patch number below this line */ |
758 /**/ | |
759 3402, | |
758 /**/ | 760 /**/ |
759 3401, | 761 3401, |
760 /**/ | 762 /**/ |
761 3400, | 763 3400, |
762 /**/ | 764 /**/ |