To: vim_dev@googlegroups.com Subject: Patch 8.1.2335 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2335 Problem: Error message for function arguments may use NULL pointer. (Coverity) Solution: Use the original function name. Files: src/evalfunc.c *** ../vim-8.1.2334/src/evalfunc.c 2019-11-21 17:13:12.632361268 +0100 --- src/evalfunc.c 2019-11-22 19:27:33.626433964 +0100 *************** *** 2536,2542 **** arg_idx = 0; else if (list->lv_len > MAX_FUNC_ARGS) { ! emsg_funcname((char *)e_toomanyarg, name); vim_free(name); goto theend; } --- 2536,2542 ---- arg_idx = 0; else if (list->lv_len > MAX_FUNC_ARGS) { ! emsg_funcname((char *)e_toomanyarg, s); vim_free(name); goto theend; } *** ../vim-8.1.2334/src/version.c 2019-11-22 19:22:05.136022491 +0100 --- src/version.c 2019-11-22 19:28:30.638156260 +0100 *************** *** 739,740 **** --- 739,742 ---- { /* Add new patch number below this line */ + /**/ + 2335, /**/ -- hundred-and-one symptoms of being an internet addict: 106. When told to "go to your room" you inform your parents that you can't...because you were kicked out and banned. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///