Mercurial > vim
view src/proto/if_ruby.pro @ 31487:df58407c97f3 v9.0.1076
patch 9.0.1076: ASAN complains about NULL argument
Commit: https://github.com/vim/vim/commit/8efdcee02ed02cf9e51e1757441715c2479757ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 19 12:18:09 2022 +0000
patch 9.0.1076: ASAN complains about NULL argument
Problem: ASAN complains about NULL argument.
Solution: Skip memmove() when there is nothing to move.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Dec 2022 13:30:08 +0100 |
parents | 518f44125207 |
children |
line wrap: on
line source
/* if_ruby.c */ int ruby_enabled(int verbose); void ruby_end(void); void ex_ruby(exarg_T *eap); void ex_rubydo(exarg_T *eap); void ex_rubyfile(exarg_T *eap); void ruby_buffer_free(buf_T *buf); void ruby_window_free(win_T *win); void vim_ruby_init(void *stack_start); void do_rubyeval(char_u *str, typval_T *rettv); /* vim: set ft=c : */