Mercurial > vim
comparison src/version.c @ 16680:c263acbbd961 v8.1.1342
patch 8.1.1342: using freed memory when joining line with text property
commit https://github.com/vim/vim/commit/787880a86dbcb79cdf6e8241b1d99ac4a7acbc09
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 17 20:17:40 2019 +0200
patch 8.1.1342: using freed memory when joining line with text property
Problem: Using freed memory when joining line with text property.
Solution: Use already computed length.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 May 2019 20:30:06 +0200 |
parents | 6f453673eb19 |
children | 7847d281cbbf |
comparison
equal
deleted
inserted
replaced
16679:86d8068ffeda | 16680:c263acbbd961 |
---|---|
765 NULL | 765 NULL |
766 }; | 766 }; |
767 | 767 |
768 static int included_patches[] = | 768 static int included_patches[] = |
769 { /* Add new patch number below this line */ | 769 { /* Add new patch number below this line */ |
770 /**/ | |
771 1342, | |
770 /**/ | 772 /**/ |
771 1341, | 773 1341, |
772 /**/ | 774 /**/ |
773 1340, | 775 1340, |
774 /**/ | 776 /**/ |