Mercurial > vim
view src/proto/if_python3.pro @ 33291:4cb421ba3385 v9.0.1911
patch 9.0.1911: Vim9: segfault with null object and instanceof()
Commit: https://github.com/vim/vim/commit/3da696db6ac6103eb8f07cf7be23fa0e12c2419d
Author: Ernie Rael <errael@raelity.com>
Date: Tue Sep 19 20:14:18 2023 +0200
patch 9.0.1911: Vim9: segfault with null object and instanceof()
Problem: Vim9: segfault with null object and instanceof()
Solution: return early
closes: #13121
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Sep 2023 20:30:07 +0200 |
parents | c517845bd10e |
children | 3af53f2895dc |
line wrap: on
line source
/* if_python3.c */ int python3_enabled(int verbose); void python3_end(void); int python3_loaded(void); void ex_py3(exarg_T *eap); void ex_py3file(exarg_T *eap); void ex_py3do(exarg_T *eap); void python3_buffer_free(buf_T *buf); void python3_window_free(win_T *win); void python3_tabpage_free(tabpage_T *tab); void do_py3eval(char_u *str, typval_T *rettv); int set_ref_in_python3(int copyID); int python3_version(); /* vim: set ft=c : */