Mercurial > vim
comparison src/version.c @ 30487:79e2d9b7780c v9.0.0579
patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer
Commit: https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 24 19:20:30 2022 +0100
patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer
Problem: Using freed memory when 'tagfunc' wipes out buffer that holds
'complete'.
Solution: Make a copy of the option. Make sure cursor position is valid.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Sep 2022 20:30:03 +0200 |
parents | 57890fe84655 |
children | 1e4d93103d01 |
comparison
equal
deleted
inserted
replaced
30486:004697058faf | 30487:79e2d9b7780c |
---|---|
697 NULL | 697 NULL |
698 }; | 698 }; |
699 | 699 |
700 static int included_patches[] = | 700 static int included_patches[] = |
701 { /* Add new patch number below this line */ | 701 { /* Add new patch number below this line */ |
702 /**/ | |
703 579, | |
702 /**/ | 704 /**/ |
703 578, | 705 578, |
704 /**/ | 706 /**/ |
705 577, | 707 577, |
706 /**/ | 708 /**/ |