Mercurial > vim
comparison src/version.c @ 25907:637588377056 v8.2.3487
patch 8.2.3487: illegal memory access if buffer name is very long
Commit: https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 8 18:39:28 2021 +0100
patch 8.2.3487: illegal memory access if buffer name is very long
Problem: Illegal memory access if buffer name is very long.
Solution: Make sure not to go over the end of the buffer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Oct 2021 19:45:04 +0200 |
parents | 892f937358ea |
children | cdfb66a02a71 |
comparison
equal
deleted
inserted
replaced
25906:bdcc6192f333 | 25907:637588377056 |
---|---|
755 NULL | 755 NULL |
756 }; | 756 }; |
757 | 757 |
758 static int included_patches[] = | 758 static int included_patches[] = |
759 { /* Add new patch number below this line */ | 759 { /* Add new patch number below this line */ |
760 /**/ | |
761 3487, | |
760 /**/ | 762 /**/ |
761 3486, | 763 3486, |
762 /**/ | 764 /**/ |
763 3485, | 765 3485, |
764 /**/ | 766 /**/ |