Mercurial > vim
comparison src/version.c @ 25786:ec62e0764ffa v8.2.3428
patch 8.2.3428: using freed memory when replacing
Commit: https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 11 21:14:20 2021 +0200
patch 8.2.3428: using freed memory when replacing
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Sep 2021 21:15:03 +0200 |
parents | 8dfcee931c6c |
children | b2c00659152a |
comparison
equal
deleted
inserted
replaced
25785:468662f24b0a | 25786:ec62e0764ffa |
---|---|
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 3428, | |
758 /**/ | 760 /**/ |
759 3427, | 761 3427, |
760 /**/ | 762 /**/ |
761 3426, | 763 3426, |
762 /**/ | 764 /**/ |