Mercurial > vim
comparison src/version.c @ 29056:485619e7f836 v8.2.5050
patch 8.2.5050: using freed memory when searching for pattern in path
Commit: https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 1 15:23:13 2022 +0100
patch 8.2.5050: using freed memory when searching for pattern in path
Problem: Using freed memory when searching for pattern in path.
Solution: Make a copy of the line.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jun 2022 16:30:02 +0200 |
parents | e7bd4c788053 |
children | eee580a4c402 |
comparison
equal
deleted
inserted
replaced
29055:7edd8ffa0d9b | 29056:485619e7f836 |
---|---|
732 NULL | 732 NULL |
733 }; | 733 }; |
734 | 734 |
735 static int included_patches[] = | 735 static int included_patches[] = |
736 { /* Add new patch number below this line */ | 736 { /* Add new patch number below this line */ |
737 /**/ | |
738 5050, | |
737 /**/ | 739 /**/ |
738 5049, | 740 5049, |
739 /**/ | 741 /**/ |
740 5048, | 742 5048, |
741 /**/ | 743 /**/ |