aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/execute_spec.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-05-20 06:58:42 -0400
committerJames McCoy <jamessan@jamessan.com>2022-05-20 08:17:33 -0400
commit501ee06d3a12fbe3f0283f579605e38165c8f78b (patch)
tree3540441dbedbe0e2e56f9011a68e5869b24057e8 /test/functional/vimscript/execute_spec.lua
parentd31e68d5d0d05fc51db01d85a6d02c01e9fa2559 (diff)
downloadrneovim-501ee06d3a12fbe3f0283f579605e38165c8f78b.tar.gz
rneovim-501ee06d3a12fbe3f0283f579605e38165c8f78b.tar.bz2
rneovim-501ee06d3a12fbe3f0283f579605e38165c8f78b.zip
fix(cid/352782): assert str->items is non-NULL to hint static analyzers
The earlier vsnprintf() call checks whether str->items is NULL, sets of the "possible NULL" spidey sense. kv_ensure_space() guarantees str->items is non-NULL but since it doesn't use NULL checks to decide whether to alloc, static analyzers can't tell this code path is safe.
Diffstat (limited to 'test/functional/vimscript/execute_spec.lua')
0 files changed, 0 insertions, 0 deletions