Mercurial > vim
comparison src/version.c @ 28741:b44f15083faf v8.2.4895
patch 8.2.4895: buffer overflow with invalid command with composing chars
Commit: https://github.com/vim/vim/commit/d88934406c5375d88f8f1b65331c9f0cab68cc6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 6 20:38:47 2022 +0100
patch 8.2.4895: buffer overflow with invalid command with composing chars
Problem: Buffer overflow with invalid command with composing chars.
Solution: Check that the whole character fits in the buffer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 21:45:02 +0200 |
parents | 40b087823dc7 |
children | cf6bba7a9b0f |
comparison
equal
deleted
inserted
replaced
28740:da9f84bdc1c8 | 28741:b44f15083faf |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 4895, | |
749 /**/ | 751 /**/ |
750 4894, | 752 4894, |
751 /**/ | 753 /**/ |
752 4893, | 754 4893, |
753 /**/ | 755 /**/ |