Mercurial > vim
comparison src/proto/vim9execute.pro @ 26560:454a1c9ef797 v8.2.3809
patch 8.2.3809: Vim9: crash when garbage collecting a nested partial
Commit: https://github.com/vim/vim/commit/7509ad8b0fad56f88288977decbeca3640406c82
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 14 18:14:37 2021 +0000
patch 8.2.3809: Vim9: crash when garbage collecting a nested partial
Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
Senioria)
Solution: Set references in all the funcstacks. (closes #9348)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Dec 2021 19:15:04 +0100 |
parents | 154663508d9b |
children | 632a84e2ce92 |
comparison
equal
deleted
inserted
replaced
26559:177872ca0db9 | 26560:454a1c9ef797 |
---|---|
1 /* vim9execute.c */ | 1 /* vim9execute.c */ |
2 void to_string_error(vartype_T vartype); | 2 void to_string_error(vartype_T vartype); |
3 void funcstack_check_refcount(funcstack_T *funcstack); | 3 void funcstack_check_refcount(funcstack_T *funcstack); |
4 int set_ref_in_funcstacks(int copyID); | |
4 char_u *char_from_string(char_u *str, varnumber_T index); | 5 char_u *char_from_string(char_u *str, varnumber_T index); |
5 char_u *string_slice(char_u *str, varnumber_T first, varnumber_T last, int exclusive); | 6 char_u *string_slice(char_u *str, varnumber_T first, varnumber_T last, int exclusive); |
6 int fill_partial_and_closure(partial_T *pt, ufunc_T *ufunc, ectx_T *ectx); | 7 int fill_partial_and_closure(partial_T *pt, ufunc_T *ufunc, ectx_T *ectx); |
7 typval_T *lookup_debug_var(char_u *name); | 8 typval_T *lookup_debug_var(char_u *name); |
8 int may_break_in_function(ufunc_T *ufunc); | 9 int may_break_in_function(ufunc_T *ufunc); |