Mercurial > vim
view src/proto/drawscreen.pro @ 30302:6a1ed021a0c0 v9.0.0487
patch 9.0.0487: using freed memory with combination of closures
Commit: https://github.com/vim/vim/commit/acd6b9976bd939035025a16ceb4213a680827927
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 16:27:39 2022 +0100
patch 9.0.0487: using freed memory with combination of closures
Problem: Using freed memory with combination of closures.
Solution: Do not use a partial after it has been freed through the
funcstack.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 17:30:04 +0200 |
parents | 68ef14b21d01 |
children | bb797331e21b |
line wrap: on
line source
/* drawscreen.c */ int update_screen(int type_arg); int statusline_row(win_T *wp); void showruler(int always); void win_redr_ruler(win_T *wp, int always, int ignore_pum); void after_updating_screen(int may_resize_shell); void update_curbuf(int type); void update_debug_sign(buf_T *buf, linenr_T lnum); void updateWindow(win_T *wp); int redraw_asap(int type); void redraw_after_callback(int call_update_screen, int do_message); void redraw_later(int type); void redraw_win_later(win_T *wp, int type); void redraw_later_clear(void); void redraw_all_later(int type); void set_must_redraw(int type); void redraw_curbuf_later(int type); void redraw_buf_later(buf_T *buf, int type); void redraw_buf_line_later(buf_T *buf, linenr_T lnum); void redraw_buf_and_status_later(buf_T *buf, int type); void status_redraw_all(void); void status_redraw_curbuf(void); void redraw_statuslines(void); void win_redraw_last_status(frame_T *frp); void redrawWinline(win_T *wp, linenr_T lnum); /* vim: set ft=c : */