Mercurial > vim
view src/typemap @ 14828:421e120ffb30 v8.1.0426
patch 8.1.0426: accessing invalid memory in SmcOpenConnection()
commit https://github.com/vim/vim/commit/4841a7ccaed57f723016656e9683b587ac91f621
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 22 14:08:49 2018 +0200
patch 8.1.0426: accessing invalid memory in SmcOpenConnection()
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes https://github.com/vim/vim/issues/3469)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 22 Sep 2018 14:15:05 +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}\")