# HG changeset patch # User Christian Brabandt # Date 1536867905 -7200 # Node ID c54f69fabee9bed86479c5da3c336d9acbc4256b # Parent b4cfad5cfb6d759427294db99c60a8ae46220631 patch 8.1.0388: Coverity complains about possible NULL pointer use commit https://github.com/vim/vim/commit/bf1c1b85136bbbe55a50c9cd01ed064d8df75697 Author: Bram Moolenaar Date: Thu Sep 13 21:30:05 2018 +0200 patch 8.1.0388: Coverity complains about possible NULL pointer use Problem: Coverity complains about possible NULL pointer use. Solution: Use get_tv_string() instead of get_tv_string_chk(). diff --git a/src/evalfunc.c b/src/evalfunc.c --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -13075,7 +13075,7 @@ f_test_option_not_set(typval_T *argvars, EMSG(_(e_invarg)); else { - name = get_tv_string_chk(&argvars[0]); + name = get_tv_string(&argvars[0]); if (reset_option_was_set(name) == FAIL) EMSG2(_(e_invarg2), name); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 388, +/**/ 387, /**/ 386,