diff options
author | oni-link <knil.ino@gmail.com> | 2016-01-21 16:07:13 +0100 |
---|---|---|
committer | oni-link <knil.ino@gmail.com> | 2016-01-21 16:37:58 +0100 |
commit | 7a8e41e8ee56a1fcec07f85566022548d41a944a (patch) | |
tree | eb3111d27a36896eb38035e9f93f1d78a1f95302 /test/functional/eval/msgpack_functions_spec.lua | |
parent | bcbcf235f61bd75f965f35897784ea618fe7acb8 (diff) | |
download | rneovim-7a8e41e8ee56a1fcec07f85566022548d41a944a.tar.gz rneovim-7a8e41e8ee56a1fcec07f85566022548d41a944a.tar.bz2 rneovim-7a8e41e8ee56a1fcec07f85566022548d41a944a.zip |
coverity/13753: Dereference null return value
Dereferencing a pointer that might be null(ptag) when calling strlen().
False positive. A match always contains a tab, so ptag is never null.
Because matches are always in ctags style, we can rewrite the code to
not use strtok().
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions