Mercurial > vim
view src/typemap @ 29385:5b7b5b372e2d v9.0.0035
patch 9.0.0035: spell dump may go beyond end of an array
Commit: https://github.com/vim/vim/commit/54e5fed6d27b747ff152cdb6edfb72ff60e70939
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 4 13:37:07 2022 +0100
patch 9.0.0035: spell dump may go beyond end of an array
Problem: Spell dump may go beyond end of an array.
Solution: Limit the word length.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 04 Jul 2022 14:45:03 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")