Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/neovim-0.4.4/src/coverity-model.c
Examining data/neovim-0.4.4/src/nvim/api/buffer.c
Examining data/neovim-0.4.4/src/nvim/api/buffer.h
Examining data/neovim-0.4.4/src/nvim/api/private/defs.h
Examining data/neovim-0.4.4/src/nvim/api/private/dispatch.c
Examining data/neovim-0.4.4/src/nvim/api/private/dispatch.h
Examining data/neovim-0.4.4/src/nvim/api/private/handle.c
Examining data/neovim-0.4.4/src/nvim/api/private/handle.h
Examining data/neovim-0.4.4/src/nvim/api/private/helpers.c
Examining data/neovim-0.4.4/src/nvim/api/private/helpers.h
Examining data/neovim-0.4.4/src/nvim/api/tabpage.c
Examining data/neovim-0.4.4/src/nvim/api/tabpage.h
Examining data/neovim-0.4.4/src/nvim/api/ui.c
Examining data/neovim-0.4.4/src/nvim/api/ui.h
Examining data/neovim-0.4.4/src/nvim/api/ui_events.in.h
Examining data/neovim-0.4.4/src/nvim/api/vim.c
Examining data/neovim-0.4.4/src/nvim/api/vim.h
Examining data/neovim-0.4.4/src/nvim/api/window.c
Examining data/neovim-0.4.4/src/nvim/api/window.h
Examining data/neovim-0.4.4/src/nvim/arabic.c
Examining data/neovim-0.4.4/src/nvim/arabic.h
Examining data/neovim-0.4.4/src/nvim/ascii.h
Examining data/neovim-0.4.4/src/nvim/assert.h
Examining data/neovim-0.4.4/src/nvim/aucmd.c
Examining data/neovim-0.4.4/src/nvim/aucmd.h
Examining data/neovim-0.4.4/src/nvim/buffer.c
Examining data/neovim-0.4.4/src/nvim/buffer.h
Examining data/neovim-0.4.4/src/nvim/buffer_defs.h
Examining data/neovim-0.4.4/src/nvim/buffer_updates.c
Examining data/neovim-0.4.4/src/nvim/buffer_updates.h
Examining data/neovim-0.4.4/src/nvim/bufhl_defs.h
Examining data/neovim-0.4.4/src/nvim/change.c
Examining data/neovim-0.4.4/src/nvim/change.h
Examining data/neovim-0.4.4/src/nvim/channel.c
Examining data/neovim-0.4.4/src/nvim/channel.h
Examining data/neovim-0.4.4/src/nvim/charset.c
Examining data/neovim-0.4.4/src/nvim/charset.h
Examining data/neovim-0.4.4/src/nvim/context.c
Examining data/neovim-0.4.4/src/nvim/context.h
Examining data/neovim-0.4.4/src/nvim/cursor.c
Examining data/neovim-0.4.4/src/nvim/cursor.h
Examining data/neovim-0.4.4/src/nvim/cursor_shape.c
Examining data/neovim-0.4.4/src/nvim/cursor_shape.h
Examining data/neovim-0.4.4/src/nvim/diff.c
Examining data/neovim-0.4.4/src/nvim/diff.h
Examining data/neovim-0.4.4/src/nvim/digraph.c
Examining data/neovim-0.4.4/src/nvim/digraph.h
Examining data/neovim-0.4.4/src/nvim/edit.c
Examining data/neovim-0.4.4/src/nvim/edit.h
Examining data/neovim-0.4.4/src/nvim/eval.c
Examining data/neovim-0.4.4/src/nvim/eval.h
Examining data/neovim-0.4.4/src/nvim/eval/decode.c
Examining data/neovim-0.4.4/src/nvim/eval/decode.h
Examining data/neovim-0.4.4/src/nvim/eval/encode.c
Examining data/neovim-0.4.4/src/nvim/eval/encode.h
Examining data/neovim-0.4.4/src/nvim/eval/executor.c
Examining data/neovim-0.4.4/src/nvim/eval/executor.h
Examining data/neovim-0.4.4/src/nvim/eval/gc.c
Examining data/neovim-0.4.4/src/nvim/eval/gc.h
Examining data/neovim-0.4.4/src/nvim/eval/typval.c
Examining data/neovim-0.4.4/src/nvim/eval/typval.h
Examining data/neovim-0.4.4/src/nvim/eval/typval_encode.c.h
Examining data/neovim-0.4.4/src/nvim/eval/typval_encode.h
Examining data/neovim-0.4.4/src/nvim/event/defs.h
Examining data/neovim-0.4.4/src/nvim/event/libuv_process.c
Examining data/neovim-0.4.4/src/nvim/event/libuv_process.h
Examining data/neovim-0.4.4/src/nvim/event/loop.c
Examining data/neovim-0.4.4/src/nvim/event/loop.h
Examining data/neovim-0.4.4/src/nvim/event/multiqueue.c
Examining data/neovim-0.4.4/src/nvim/event/multiqueue.h
Examining data/neovim-0.4.4/src/nvim/event/process.c
Examining data/neovim-0.4.4/src/nvim/event/process.h
Examining data/neovim-0.4.4/src/nvim/event/rstream.c
Examining data/neovim-0.4.4/src/nvim/event/rstream.h
Examining data/neovim-0.4.4/src/nvim/event/signal.c
Examining data/neovim-0.4.4/src/nvim/event/signal.h
Examining data/neovim-0.4.4/src/nvim/event/socket.c
Examining data/neovim-0.4.4/src/nvim/event/socket.h
Examining data/neovim-0.4.4/src/nvim/event/stream.c
Examining data/neovim-0.4.4/src/nvim/event/stream.h
Examining data/neovim-0.4.4/src/nvim/event/time.c
Examining data/neovim-0.4.4/src/nvim/event/time.h
Examining data/neovim-0.4.4/src/nvim/event/wstream.c
Examining data/neovim-0.4.4/src/nvim/event/wstream.h
Examining data/neovim-0.4.4/src/nvim/ex_cmds.c
Examining data/neovim-0.4.4/src/nvim/ex_cmds.h
Examining data/neovim-0.4.4/src/nvim/ex_cmds2.c
Examining data/neovim-0.4.4/src/nvim/ex_cmds2.h
Examining data/neovim-0.4.4/src/nvim/ex_cmds_defs.h
Examining data/neovim-0.4.4/src/nvim/ex_docmd.c
Examining data/neovim-0.4.4/src/nvim/ex_docmd.h
Examining data/neovim-0.4.4/src/nvim/ex_eval.c
Examining data/neovim-0.4.4/src/nvim/ex_eval.h
Examining data/neovim-0.4.4/src/nvim/ex_getln.c
Examining data/neovim-0.4.4/src/nvim/ex_getln.h
Examining data/neovim-0.4.4/src/nvim/file_search.c
Examining data/neovim-0.4.4/src/nvim/file_search.h
Examining data/neovim-0.4.4/src/nvim/fileio.c
Examining data/neovim-0.4.4/src/nvim/fileio.h
Examining data/neovim-0.4.4/src/nvim/fold.c
Examining data/neovim-0.4.4/src/nvim/fold.h
Examining data/neovim-0.4.4/src/nvim/func_attr.h
Examining data/neovim-0.4.4/src/nvim/garray.c
Examining data/neovim-0.4.4/src/nvim/garray.h
Examining data/neovim-0.4.4/src/nvim/getchar.c
Examining data/neovim-0.4.4/src/nvim/getchar.h
Examining data/neovim-0.4.4/src/nvim/gettext.h
Examining data/neovim-0.4.4/src/nvim/globals.h
Examining data/neovim-0.4.4/src/nvim/grid_defs.h
Examining data/neovim-0.4.4/src/nvim/hardcopy.c
Examining data/neovim-0.4.4/src/nvim/hardcopy.h
Examining data/neovim-0.4.4/src/nvim/hashtab.c
Examining data/neovim-0.4.4/src/nvim/hashtab.h
Examining data/neovim-0.4.4/src/nvim/highlight.c
Examining data/neovim-0.4.4/src/nvim/highlight.h
Examining data/neovim-0.4.4/src/nvim/highlight_defs.h
Examining data/neovim-0.4.4/src/nvim/iconv.h
Examining data/neovim-0.4.4/src/nvim/if_cscope.c
Examining data/neovim-0.4.4/src/nvim/if_cscope.h
Examining data/neovim-0.4.4/src/nvim/if_cscope_defs.h
Examining data/neovim-0.4.4/src/nvim/indent.c
Examining data/neovim-0.4.4/src/nvim/indent.h
Examining data/neovim-0.4.4/src/nvim/indent_c.c
Examining data/neovim-0.4.4/src/nvim/indent_c.h
Examining data/neovim-0.4.4/src/nvim/keymap.c
Examining data/neovim-0.4.4/src/nvim/keymap.h
Examining data/neovim-0.4.4/src/nvim/lib/kbtree.h
Examining data/neovim-0.4.4/src/nvim/lib/khash.h
Examining data/neovim-0.4.4/src/nvim/lib/klist.h
Examining data/neovim-0.4.4/src/nvim/lib/kvec.h
Examining data/neovim-0.4.4/src/nvim/lib/queue.h
Examining data/neovim-0.4.4/src/nvim/lib/ringbuf.h
Examining data/neovim-0.4.4/src/nvim/log.c
Examining data/neovim-0.4.4/src/nvim/log.h
Examining data/neovim-0.4.4/src/nvim/lua/converter.c
Examining data/neovim-0.4.4/src/nvim/lua/converter.h
Examining data/neovim-0.4.4/src/nvim/lua/executor.c
Examining data/neovim-0.4.4/src/nvim/lua/executor.h
Examining data/neovim-0.4.4/src/nvim/macros.h
Examining data/neovim-0.4.4/src/nvim/main.c
Examining data/neovim-0.4.4/src/nvim/main.h
Examining data/neovim-0.4.4/src/nvim/map.c
Examining data/neovim-0.4.4/src/nvim/map.h
Examining data/neovim-0.4.4/src/nvim/map_defs.h
Examining data/neovim-0.4.4/src/nvim/mark.c
Examining data/neovim-0.4.4/src/nvim/mark.h
Examining data/neovim-0.4.4/src/nvim/mark_defs.h
Examining data/neovim-0.4.4/src/nvim/math.c
Examining data/neovim-0.4.4/src/nvim/math.h
Examining data/neovim-0.4.4/src/nvim/mbyte.c
Examining data/neovim-0.4.4/src/nvim/mbyte.h
Examining data/neovim-0.4.4/src/nvim/memfile.c
Examining data/neovim-0.4.4/src/nvim/memfile.h
Examining data/neovim-0.4.4/src/nvim/memfile_defs.h
Examining data/neovim-0.4.4/src/nvim/memline.c
Examining data/neovim-0.4.4/src/nvim/memline.h
Examining data/neovim-0.4.4/src/nvim/memline_defs.h
Examining data/neovim-0.4.4/src/nvim/memory.c
Examining data/neovim-0.4.4/src/nvim/memory.h
Examining data/neovim-0.4.4/src/nvim/menu.c
Examining data/neovim-0.4.4/src/nvim/menu.h
Examining data/neovim-0.4.4/src/nvim/message.c
Examining data/neovim-0.4.4/src/nvim/message.h
Examining data/neovim-0.4.4/src/nvim/misc1.c
Examining data/neovim-0.4.4/src/nvim/misc1.h
Examining data/neovim-0.4.4/src/nvim/mouse.c
Examining data/neovim-0.4.4/src/nvim/mouse.h
Examining data/neovim-0.4.4/src/nvim/move.c
Examining data/neovim-0.4.4/src/nvim/move.h
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.h
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/channel_defs.h
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/helpers.c
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/helpers.h
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/server.c
Examining data/neovim-0.4.4/src/nvim/msgpack_rpc/server.h
Examining data/neovim-0.4.4/src/nvim/normal.c
Examining data/neovim-0.4.4/src/nvim/normal.h
Examining data/neovim-0.4.4/src/nvim/ops.c
Examining data/neovim-0.4.4/src/nvim/ops.h
Examining data/neovim-0.4.4/src/nvim/option.c
Examining data/neovim-0.4.4/src/nvim/option.h
Examining data/neovim-0.4.4/src/nvim/option_defs.h
Examining data/neovim-0.4.4/src/nvim/os/dl.c
Examining data/neovim-0.4.4/src/nvim/os/dl.h
Examining data/neovim-0.4.4/src/nvim/os/env.c
Examining data/neovim-0.4.4/src/nvim/os/fileio.c
Examining data/neovim-0.4.4/src/nvim/os/fileio.h
Examining data/neovim-0.4.4/src/nvim/os/fs.c
Examining data/neovim-0.4.4/src/nvim/os/fs_defs.h
Examining data/neovim-0.4.4/src/nvim/os/input.c
Examining data/neovim-0.4.4/src/nvim/os/input.h
Examining data/neovim-0.4.4/src/nvim/os/lang.c
Examining data/neovim-0.4.4/src/nvim/os/lang.h
Examining data/neovim-0.4.4/src/nvim/os/mem.c
Examining data/neovim-0.4.4/src/nvim/os/os.h
Examining data/neovim-0.4.4/src/nvim/os/os_defs.h
Examining data/neovim-0.4.4/src/nvim/os/process.c
Examining data/neovim-0.4.4/src/nvim/os/process.h
Examining data/neovim-0.4.4/src/nvim/os/pty_process.h
Examining data/neovim-0.4.4/src/nvim/os/pty_process_unix.c
Examining data/neovim-0.4.4/src/nvim/os/pty_process_unix.h
Examining data/neovim-0.4.4/src/nvim/os/pty_process_win.c
Examining data/neovim-0.4.4/src/nvim/os/pty_process_win.h
Examining data/neovim-0.4.4/src/nvim/os/shell.c
Examining data/neovim-0.4.4/src/nvim/os/shell.h
Examining data/neovim-0.4.4/src/nvim/os/signal.c
Examining data/neovim-0.4.4/src/nvim/os/signal.h
Examining data/neovim-0.4.4/src/nvim/os/stdpaths.c
Examining data/neovim-0.4.4/src/nvim/os/stdpaths_defs.h
Examining data/neovim-0.4.4/src/nvim/os/time.c
Examining data/neovim-0.4.4/src/nvim/os/time.h
Examining data/neovim-0.4.4/src/nvim/os/tty.c
Examining data/neovim-0.4.4/src/nvim/os/tty.h
Examining data/neovim-0.4.4/src/nvim/os/unix_defs.h
Examining data/neovim-0.4.4/src/nvim/os/users.c
Examining data/neovim-0.4.4/src/nvim/os/win_defs.h
Examining data/neovim-0.4.4/src/nvim/os_unix.c
Examining data/neovim-0.4.4/src/nvim/os_unix.h
Examining data/neovim-0.4.4/src/nvim/path.c
Examining data/neovim-0.4.4/src/nvim/path.h
Examining data/neovim-0.4.4/src/nvim/popupmnu.c
Examining data/neovim-0.4.4/src/nvim/popupmnu.h
Examining data/neovim-0.4.4/src/nvim/pos.h
Examining data/neovim-0.4.4/src/nvim/profile.c
Examining data/neovim-0.4.4/src/nvim/profile.h
Examining data/neovim-0.4.4/src/nvim/quickfix.c
Examining data/neovim-0.4.4/src/nvim/quickfix.h
Examining data/neovim-0.4.4/src/nvim/rbuffer.c
Examining data/neovim-0.4.4/src/nvim/rbuffer.h
Examining data/neovim-0.4.4/src/nvim/regexp.c
Examining data/neovim-0.4.4/src/nvim/regexp.h
Examining data/neovim-0.4.4/src/nvim/regexp_defs.h
Examining data/neovim-0.4.4/src/nvim/regexp_nfa.c
Examining data/neovim-0.4.4/src/nvim/screen.c
Examining data/neovim-0.4.4/src/nvim/screen.h
Examining data/neovim-0.4.4/src/nvim/search.c
Examining data/neovim-0.4.4/src/nvim/search.h
Examining data/neovim-0.4.4/src/nvim/sha256.c
Examining data/neovim-0.4.4/src/nvim/sha256.h
Examining data/neovim-0.4.4/src/nvim/shada.c
Examining data/neovim-0.4.4/src/nvim/shada.h
Examining data/neovim-0.4.4/src/nvim/sign.c
Examining data/neovim-0.4.4/src/nvim/sign.h
Examining data/neovim-0.4.4/src/nvim/sign_defs.h
Examining data/neovim-0.4.4/src/nvim/spell.c
Examining data/neovim-0.4.4/src/nvim/spell.h
Examining data/neovim-0.4.4/src/nvim/spell_defs.h
Examining data/neovim-0.4.4/src/nvim/spellfile.c
Examining data/neovim-0.4.4/src/nvim/spellfile.h
Examining data/neovim-0.4.4/src/nvim/state.c
Examining data/neovim-0.4.4/src/nvim/state.h
Examining data/neovim-0.4.4/src/nvim/strings.c
Examining data/neovim-0.4.4/src/nvim/strings.h
Examining data/neovim-0.4.4/src/nvim/syntax.c
Examining data/neovim-0.4.4/src/nvim/syntax.h
Examining data/neovim-0.4.4/src/nvim/syntax_defs.h
Examining data/neovim-0.4.4/src/nvim/tag.c
Examining data/neovim-0.4.4/src/nvim/tag.h
Examining data/neovim-0.4.4/src/nvim/terminal.c
Examining data/neovim-0.4.4/src/nvim/terminal.h
Examining data/neovim-0.4.4/src/nvim/testdir/samples/memfile_test.c
Examining data/neovim-0.4.4/src/nvim/tui/input.c
Examining data/neovim-0.4.4/src/nvim/tui/input.h
Examining data/neovim-0.4.4/src/nvim/tui/terminfo.c
Examining data/neovim-0.4.4/src/nvim/tui/terminfo.h
Examining data/neovim-0.4.4/src/nvim/tui/terminfo_defs.h
Examining data/neovim-0.4.4/src/nvim/tui/tui.c
Examining data/neovim-0.4.4/src/nvim/tui/tui.h
Examining data/neovim-0.4.4/src/nvim/types.h
Examining data/neovim-0.4.4/src/nvim/ugrid.c
Examining data/neovim-0.4.4/src/nvim/ugrid.h
Examining data/neovim-0.4.4/src/nvim/ui.c
Examining data/neovim-0.4.4/src/nvim/ui.h
Examining data/neovim-0.4.4/src/nvim/ui_bridge.c
Examining data/neovim-0.4.4/src/nvim/ui_bridge.h
Examining data/neovim-0.4.4/src/nvim/ui_compositor.c
Examining data/neovim-0.4.4/src/nvim/ui_compositor.h
Examining data/neovim-0.4.4/src/nvim/undo.c
Examining data/neovim-0.4.4/src/nvim/undo.h
Examining data/neovim-0.4.4/src/nvim/undo_defs.h
Examining data/neovim-0.4.4/src/nvim/version.c
Examining data/neovim-0.4.4/src/nvim/version.h
Examining data/neovim-0.4.4/src/nvim/vim.h
Examining data/neovim-0.4.4/src/nvim/viml/parser/expressions.c
Examining data/neovim-0.4.4/src/nvim/viml/parser/expressions.h
Examining data/neovim-0.4.4/src/nvim/viml/parser/parser.c
Examining data/neovim-0.4.4/src/nvim/viml/parser/parser.h
Examining data/neovim-0.4.4/src/nvim/window.c
Examining data/neovim-0.4.4/src/nvim/window.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xdiff.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xdiffi.c
Examining data/neovim-0.4.4/src/nvim/xdiff/xdiffi.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xemit.c
Examining data/neovim-0.4.4/src/nvim/xdiff/xemit.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xhistogram.c
Examining data/neovim-0.4.4/src/nvim/xdiff/xinclude.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xmacros.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xpatience.c
Examining data/neovim-0.4.4/src/nvim/xdiff/xprepare.c
Examining data/neovim-0.4.4/src/nvim/xdiff/xprepare.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xtypes.h
Examining data/neovim-0.4.4/src/nvim/xdiff/xutils.c
Examining data/neovim-0.4.4/src/nvim/xdiff/xutils.h
Examining data/neovim-0.4.4/test/functional/fixtures/printargs-test.c
Examining data/neovim-0.4.4/test/functional/fixtures/printenv-test.c
Examining data/neovim-0.4.4/test/functional/fixtures/shell-test.c
Examining data/neovim-0.4.4/test/functional/fixtures/streams-test.c
Examining data/neovim-0.4.4/test/functional/fixtures/tty-test.c
Examining data/neovim-0.4.4/test/includes/pre/fcntl.h
Examining data/neovim-0.4.4/test/includes/pre/sys/stat.h
Examining data/neovim-0.4.4/test/symbolic/klee/nvim/charset.c
Examining data/neovim-0.4.4/test/symbolic/klee/nvim/garray.c
Examining data/neovim-0.4.4/test/symbolic/klee/nvim/gettext.c
Examining data/neovim-0.4.4/test/symbolic/klee/nvim/keymap.c
Examining data/neovim-0.4.4/test/symbolic/klee/nvim/mbyte.c
Examining data/neovim-0.4.4/test/symbolic/klee/nvim/memory.c
Examining data/neovim-0.4.4/test/symbolic/klee/viml_expressions_lexer.c
Examining data/neovim-0.4.4/test/symbolic/klee/viml_expressions_parser.c
Examining data/neovim-0.4.4/test/unit/fixtures/multiqueue.c
Examining data/neovim-0.4.4/test/unit/fixtures/multiqueue.h
Examining data/neovim-0.4.4/test/unit/fixtures/posix.h
Examining data/neovim-0.4.4/test/unit/fixtures/rbuffer.c
Examining data/neovim-0.4.4/test/unit/fixtures/rbuffer.h

FINAL RESULTS:

data/neovim-0.4.4/src/nvim/eval.c:14190:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
        len = readlink(p, buf, MAXPATHL);
data/neovim-0.4.4/src/nvim/memline.c:3121:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    ret = readlink((char *)tmp, (char *)buf, MAXPATHL - 1);
data/neovim-0.4.4/src/nvim/api/private/helpers.c:1462:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  int len = vsnprintf(NULL, 0, format, args1);
data/neovim-0.4.4/src/nvim/api/private/helpers.c:1468:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(err->msg, bufsize, format, args2);
data/neovim-0.4.4/src/nvim/eval.c:9330:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf((char *)r, txt, dashes, count);
data/neovim-0.4.4/src/nvim/eval.c:19871:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)newval + STRLEN(newval), " ++ff=%s",
data/neovim-0.4.4/src/nvim/eval.c:19874:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)newval + STRLEN(newval), " ++enc=%s",
data/neovim-0.4.4/src/nvim/eval.c:24197:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf, bufsize, "%s:%" PRIdLINENR, sourcing_name, sourcing_lnum);
data/neovim-0.4.4/src/nvim/eval/typval.c:2838:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf(buf, NUMBUFLEN, "%" PRIdVARNUMBER, tv->vval.v_number);  // -V576
data/neovim-0.4.4/src/nvim/event/socket.c:114:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(watcher->addr+len, sizeof(watcher->addr)-len, ":%" PRIu16,
data/neovim-0.4.4/src/nvim/ex_cmds.c:5238:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)s, "help-tags\t%s\t1\n", tagfname);
data/neovim-0.4.4/src/nvim/ex_cmds.c:5303:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf((char *)s, "%s\t%s", p1, fname);
data/neovim-0.4.4/src/nvim/ex_docmd.c:5603:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(num_buf, "%" PRId64, (int64_t)num);
data/neovim-0.4.4/src/nvim/ex_docmd.c:8798:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf(strbuf, sizeof(strbuf), "%" PRIdLINENR, sourcing_lnum);
data/neovim-0.4.4/src/nvim/ex_docmd.c:8807:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf((char *)strbuf, sizeof(strbuf), "%" PRIdLINENR,
data/neovim-0.4.4/src/nvim/ex_docmd.c:9066:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    if (fprintf(fd, "set lines=%" PRId64 " columns=%" PRId64,
data/neovim-0.4.4/src/nvim/ex_docmd.c:9355:23:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    if (count > 0 && (fprintf(fd, fr->fr_layout == FR_COL
data/neovim-0.4.4/src/nvim/ex_docmd.c:9580:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        || fprintf(fd, "%" PRId64, (int64_t)wp->w_cursor.lnum) < 0
data/neovim-0.4.4/src/nvim/ex_docmd.c:10256:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(str, sizeof(str), "%" PRId64, (int64_t)cmd->uc_def);
data/neovim-0.4.4/src/nvim/ex_docmd.c:10269:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(str, sizeof(str), "%" PRId64, (int64_t)cmd->uc_def);
data/neovim-0.4.4/src/nvim/ex_eval.c:429:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf((char *)(val + STRLEN(p)), " (%s)", &mesg[1]);
data/neovim-0.4.4/src/nvim/fileio.c:2039:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf((char *)eap->cmd, "e ++ff=%s ++enc=%s", buf->b_p_ff, buf->b_p_fenc);
data/neovim-0.4.4/src/nvim/fileio.c:4329:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(retval, fname);
data/neovim-0.4.4/src/nvim/fileio.c:4352:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(s, ext);
data/neovim-0.4.4/src/nvim/fileio.c:4960:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(tbuf, tbuf_len, mesg, path);
data/neovim-0.4.4/src/nvim/fileio.c:5341:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf((char *)template, TEMP_FILE_PATH_MAXLEN,
data/neovim-0.4.4/src/nvim/fileio.c:7079:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf((char *)sourcing_name, sourcing_name_len, s, name,
data/neovim-0.4.4/src/nvim/fold.c:3136:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        if (fprintf(fd, "%" PRId64, (int64_t)(fp->fd_top + off)) < 0
data/neovim-0.4.4/src/nvim/fold.c:3173:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  if (fprintf(fd, "%" PRId64, (int64_t)(fp->fd_top + off)) < 0
data/neovim-0.4.4/src/nvim/func_attr.h:124:58:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define REAL_FATTR_PRINTF(x, y) __attribute__((format (printf, x, y)))
data/neovim-0.4.4/src/nvim/garray.c:170:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(s, strings[nelem - 1]);
data/neovim-0.4.4/src/nvim/hardcopy.c:805:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)IObuff, "%s", _("Printing aborted"));
data/neovim-0.4.4/src/nvim/hardcopy.c:1346:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf((char *)prt_line_buffer, "%s ", (b ? "T" : "F"));
data/neovim-0.4.4/src/nvim/hardcopy.c:1359:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)prt_line_buffer, "/%s %d %f /_%s sffs\n",
data/neovim-0.4.4/src/nvim/if_cscope.c:400:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  (void)sprintf(buf, stat_emsg, fname, errno);
data/neovim-0.4.4/src/nvim/if_cscope.c:465:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      (void)sprintf(fname2, "/%s", CSCOPE_DBFILE);
data/neovim-0.4.4/src/nvim/if_cscope.c:467:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      (void)sprintf(fname2, "%s/%s", fname, CSCOPE_DBFILE);
data/neovim-0.4.4/src/nvim/if_cscope.c:658:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  (void)sprintf(cmd, "%d%s", search, pat);
data/neovim-0.4.4/src/nvim/if_cscope.c:759:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void)sprintf(cmd, "exec %s -dl -f %s", prog, csinfo[i].fname);
data/neovim-0.4.4/src/nvim/if_cscope.c:762:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void)sprintf(cmd, "%s -dl -f %s", prog, csinfo[i].fname);
data/neovim-0.4.4/src/nvim/if_cscope.c:766:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      (void)strcat(cmd, csinfo[i].ppath);
data/neovim-0.4.4/src/nvim/if_cscope.c:770:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      (void)strcat(cmd, csinfo[i].flags);
data/neovim-0.4.4/src/nvim/if_cscope.c:788:9:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
data/neovim-0.4.4/src/nvim/if_cscope.c:942:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(buf, nf, *qfpos, *(qfpos-1));
data/neovim-0.4.4/src/nvim/if_cscope.c:997:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf, nf, opt, pat);
data/neovim-0.4.4/src/nvim/if_cscope.c:1151:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  (void)strcpy(csinfo[i].fname, (const char *)fname);
data/neovim-0.4.4/src/nvim/if_cscope.c:1155:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    (void)strcpy(csinfo[i].ppath, (const char *)ppath);
data/neovim-0.4.4/src/nvim/if_cscope.c:1161:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    (void)strcpy(csinfo[i].flags, (const char *)flags);
data/neovim-0.4.4/src/nvim/if_cscope.c:1305:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void)sprintf(buf, "%s\t%s\t%s;\"\t%s", tagstr, fname, slno, search);
data/neovim-0.4.4/src/nvim/if_cscope.c:1310:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void)sprintf(buf, "%s\t%s\t%s;\"", tagstr, fname, slno);
data/neovim-0.4.4/src/nvim/if_cscope.c:1468:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(context, "<<%s>>", cntx);
data/neovim-0.4.4/src/nvim/if_cscope.c:1595:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  (void)snprintf(buf, bufsize, cstag_msg, ptag);
data/neovim-0.4.4/src/nvim/if_cscope.c:1631:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    (void)snprintf(buf, bufsize, csfmt_str, i + 1, lno);
data/neovim-0.4.4/src/nvim/if_cscope.c:1647:19:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    int buf_len = snprintf(buf, bufsize, cntxformat, context);
data/neovim-0.4.4/src/nvim/if_cscope.c:1977:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void)sprintf(fullname, "%s/%s", csinfo[i].ppath, name);
data/neovim-0.4.4/src/nvim/keymap.c:860:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
          snprintf((char *)result + dlen, buf_len - dlen, "%" PRId64,
data/neovim-0.4.4/src/nvim/log.c:232:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE *fp = popen(cmdbuf, "r");
data/neovim-0.4.4/src/nvim/log.c:318:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  if (vfprintf(log_file, fmt, args) < 0) {
data/neovim-0.4.4/src/nvim/message.c:538:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf, buf_len, p, sourcing_name);
data/neovim-0.4.4/src/nvim/message.c:559:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf, buf_len, p, (long)sourcing_lnum);
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:747:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(f, type ? (type == 1 ? RES : NOT) : REQ);
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:758:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(f, ERR);
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:779:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(f, is_request ? REQ : RES);
data/neovim-0.4.4/src/nvim/msgpack_rpc/server.c:92:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  snprintf(template, ADDRESS_MAX_SIZE,
data/neovim-0.4.4/src/nvim/normal.c:3292:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf((char *)showcmd_buf, SHOWCMD_BUFLEN, "%" PRId64 "x%" PRId64,
data/neovim-0.4.4/src/nvim/normal.c:3295:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf((char *)showcmd_buf, SHOWCMD_BUFLEN, "%" PRId64, (int64_t)lines);
data/neovim-0.4.4/src/nvim/normal.c:3764:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf((char *)pat, vim_iswordp(ptr) ? "\\V\\<%.*s\\>" : "\\V%.*s",
data/neovim-0.4.4/src/nvim/normal.c:4812:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(buf, buf_size, "%" PRId64, (int64_t)(cap->count0));
data/neovim-0.4.4/src/nvim/normal.c:4834:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(buf, buf_size, ".,.+%" PRId64, (int64_t)(cap->count0 - 1));
data/neovim-0.4.4/src/nvim/normal.c:4845:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(buf + STRLEN(buf), buf_size - STRLEN(buf), "%" PRId64,
data/neovim-0.4.4/src/nvim/ops.c:243:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)IObuff, _("1 line %sed 1 time"), s);
data/neovim-0.4.4/src/nvim/ops.c:245:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)IObuff, _("1 line %sed %d times"), s, amount);
data/neovim-0.4.4/src/nvim/ops.c:248:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)IObuff, _("%" PRId64 " lines %sed 1 time"),
data/neovim-0.4.4/src/nvim/ops.c:251:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)IObuff, _("%" PRId64 " lines %sed %d times"),
data/neovim-0.4.4/src/nvim/ops.c:4931:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf(buf, buf_len, CTRL_V_STR "%" PRIdCOLNR, reg_width + 1);
data/neovim-0.4.4/src/nvim/option.c:5444:14:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  } else if (fprintf(fd, "%" PRId64, (int64_t)(*valuep)) < 0) {
data/neovim-0.4.4/src/nvim/option.c:6491:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf((char *)NameBuff,
data/neovim-0.4.4/src/nvim/os/pty_process_unix.c:181:3:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  execvp(prog, ptyproc->process.argv);
data/neovim-0.4.4/src/nvim/quickfix.c:2903:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf((char *)buf, "%s %3d", (char *)p, nr);
data/neovim-0.4.4/src/nvim/quickfix.c:3375:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf((char *)IObuff + len, "%" PRId64, (int64_t)qfp->qf_lnum);
data/neovim-0.4.4/src/nvim/quickfix.c:3383:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)IObuff + len, "%s",
data/neovim-0.4.4/src/nvim/regexp.c:1755:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf((char *)IObuff, _("E61: Nested %s*"),
data/neovim-0.4.4/src/nvim/regexp.c:1758:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf((char *)IObuff, _("E62: Nested %s%c"),
data/neovim-0.4.4/src/nvim/regexp.c:1919:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)IObuff, _("E64: %s%c follows nothing"),
data/neovim-0.4.4/src/nvim/regexp.c:3129:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf((char *)IObuff, _("E554: Syntax error in %s{...}"),
data/neovim-0.4.4/src/nvim/regexp.c:5839:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(f, " minval %" PRId64 ", maxval %" PRId64,
data/neovim-0.4.4/src/nvim/regexp.c:5844:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(f, " count %" PRId64, (int64_t)OPERAND_MIN(s));
data/neovim-0.4.4/src/nvim/regexp.c:5848:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(f, " count %" PRId64, (int64_t)OPERAND_MIN(s));
data/neovim-0.4.4/src/nvim/screen.c:1853:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf((char *)buf, FOLD_TEXT_LEN, fmt, w, num);
data/neovim-0.4.4/src/nvim/screen.c:2818:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf((char *)extra, fmt,
data/neovim-0.4.4/src/nvim/search.c:1152:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
          snprintf((char *)p, sizeof(off_buf) - 1 - (p - off_buf),
data/neovim-0.4.4/src/nvim/search.c:4401:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf((char *)pat, whole ? "\\<%.*s\\>" : "%.*s", (int)len, ptr);
data/neovim-0.4.4/src/nvim/spell.c:3027:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf((char *)frompat, "\\V\\<%s\\>", repl_from);
data/neovim-0.4.4/src/nvim/spell.c:4085:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf(changename[depth], "%.*s-%s: split",
data/neovim-0.4.4/src/nvim/spell.c:4088:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf(changename[depth], "%.*s-%s: compound",
data/neovim-0.4.4/src/nvim/spell.c:4229:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(changename[depth], "%.*s-%s: subst %c to %c",
data/neovim-0.4.4/src/nvim/spell.c:4233:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(changename[depth], "%.*s-%s: accept %c",
data/neovim-0.4.4/src/nvim/spell.c:4348:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(changename[depth], "%.*s-%s: delete %c",
data/neovim-0.4.4/src/nvim/spell.c:4432:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(changename[depth], "%.*s-%s: insert %c",
data/neovim-0.4.4/src/nvim/spell.c:4569:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(changename[depth], "%.*s-%s: swap3 %c and %c",
data/neovim-0.4.4/src/nvim/spell.c:4614:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(changename[depth], "%.*s-%s: rotate left %c%c%c",
data/neovim-0.4.4/src/nvim/spell.c:4651:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(changename[depth], "%.*s-%s: rotate right %c%c%c",
data/neovim-0.4.4/src/nvim/spell.c:4736:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(changename[depth], "%.*s-%s: replace %s with %s",
data/neovim-0.4.4/src/nvim/spellfile.c:2403:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf((char *)buf, "^%s", items[4]);
data/neovim-0.4.4/src/nvim/spellfile.c:2405:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              sprintf((char *)buf, "%s$", items[4]);
data/neovim-0.4.4/src/nvim/spellfile.c:2456:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                      sprintf((char *)buf, "^%s",
data/neovim-0.4.4/src/nvim/strings.c:1110:38:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
                str_arg_l += (size_t)snprintf(tmp + str_arg_l,
data/neovim-0.4.4/src/nvim/strings.c:1133:38:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
                str_arg_l += (size_t)snprintf(tmp + str_arg_l,
data/neovim-0.4.4/src/nvim/strings.c:1251:35:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
              str_arg_l = (size_t)snprintf(tmp, sizeof(tmp), format, f);
data/neovim-0.4.4/src/nvim/tag.c:847:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)IObuff, _("tag %d of %d%s"),
data/neovim-0.4.4/src/nvim/vim.h:215:29:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#define STRCPY(d, s)        strcpy((char *)(d), (char *)(s))
data/neovim-0.4.4/src/nvim/vim.h:245:29:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
#define STRCAT(d, s)        strcat((char *)(d), (char *)(s))
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:753:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    p += snprintf(p, (size_t)(sizeof(ret) - (size_t)(p - ret)), __VA_ARGS__); \
data/neovim-0.4.4/test/symbolic/klee/nvim/garray.c:136:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(s, strings[nelem - 1]);
data/neovim-0.4.4/src/nvim/if_cscope.c:819:15:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    created = CreateProcess(NULL, cmd, NULL, NULL, TRUE, CREATE_NEW_CONSOLE,
data/neovim-0.4.4/src/nvim/if_cscope.c:819:15:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    created = CreateProcess(NULL, cmd, NULL, NULL, TRUE, CREATE_NEW_CONSOLE,
data/neovim-0.4.4/test/functional/fixtures/printenv-test.c:50:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *value = getenv(argv[1]);
data/neovim-0.4.4/src/nvim/api/ui.c:560:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ADD(cell, STRING_OBJ(cstr_to_string((const char *)chunk[i])));
data/neovim-0.4.4/src/nvim/api/ui.c:586:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      remote_ui_put(ui, (const char *)chunk[i]);
data/neovim-0.4.4/src/nvim/api/vim.c:686:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char string[MAXPATHL];
data/neovim-0.4.4/src/nvim/api/vim.c:687:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(string, dir.data, dir.size);
data/neovim-0.4.4/src/nvim/api/vim.c:1362:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char e[METHOD_MAXLEN + 1];
data/neovim-0.4.4/src/nvim/api/vim.c:1363:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(e, event.data, length);
data/neovim-0.4.4/src/nvim/api/vim.c:1378:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char e[METHOD_MAXLEN + 1];
data/neovim-0.4.4/src/nvim/api/vim.c:1379:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(e, event.data, length);
data/neovim-0.4.4/src/nvim/api/vim.c:2273:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char out_line_buf[LINE_BUFFER_SIZE], err_line_buf[LINE_BUFFER_SIZE];
data/neovim-0.4.4/src/nvim/buffer.c:3088:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[IOSIZE];
data/neovim-0.4.4/src/nvim/buffer.c:3829:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          num = atoi((char *)str);
data/neovim-0.4.4/src/nvim/buffer.c:4416:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        cur_tab_rec->start = (char *)items[l].start;
data/neovim-0.4.4/src/nvim/buffer.c:4433:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        cur_tab_rec->start = (char *)items[l].start;
data/neovim-0.4.4/src/nvim/channel.c:630:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[sizeof("\r\n[Process exited ]") + NUMBUFLEN];
data/neovim-0.4.4/src/nvim/charset.c:331:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char hexbuf[9];
data/neovim-0.4.4/src/nvim/charset.c:374:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char hexbuf[9];  // <up to 6 bytes>NUL
data/neovim-0.4.4/src/nvim/cursor.c:178:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(newline, line, (size_t)idx);
data/neovim-0.4.4/src/nvim/cursor.c:198:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(newline, line, (size_t)idx);
data/neovim-0.4.4/src/nvim/cursor.c:204:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(newline + idx + csize, line + idx + 1, n);
data/neovim-0.4.4/src/nvim/diff.c:2412:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[30];
data/neovim-0.4.4/src/nvim/diff.c:2509:11:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      i = atol((char *)eap->arg);
data/neovim-0.4.4/src/nvim/edit.c:2313:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                             : (char_u *)xstrdup((char *)cptext[i]));
data/neovim-0.4.4/src/nvim/edit.c:2873:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    fp = os_fopen((char *)files[i], "r");  // open dictionary file
data/neovim-0.4.4/src/nvim/edit.c:2876:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   _("Scanning dictionary: %s"), (char *)files[i]);
data/neovim-0.4.4/src/nvim/edit.c:3827:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *(cptext[CPT_COUNT]);
data/neovim-0.4.4/src/nvim/edit.c:6138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[10];
data/neovim-0.4.4/src/nvim/edit.c:8920:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MB_MAXBYTES + 1];
data/neovim-0.4.4/src/nvim/eval.c:1035:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:1139:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char numbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:1487:16:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      retval = atol((char *)s);
data/neovim-0.4.4/src/nvim/eval.c:1761:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[IOSIZE];
data/neovim-0.4.4/src/nvim/eval.c:3862:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:3863:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:3970:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:3971:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:5693:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:6115:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(IObuff, key, key_len);
data/neovim-0.4.4/src/nvim/eval.c:6842:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:7020:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
             && strstr((char *)vimvars[VV_EXCEPTION].vv_str, error) == NULL) {
data/neovim-0.4.4/src/nvim/eval.c:7050:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:7054:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        || strstr((char *)vimvars[VV_ERRMSG].vv_str, error) == NULL) {
data/neovim-0.4.4/src/nvim/eval.c:7085:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[55];
data/neovim-0.4.4/src/nvim/eval.c:7127:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:7128:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:7587:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *stream = (char *)argvars[1].vval.v_string;
data/neovim-0.4.4/src/nvim/eval.c:7788:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:7789:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:7945:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:8162:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:8480:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:8557:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:8579:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:8901:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:8943:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pathbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:9215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:9427:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char sid_buf[25];
data/neovim-0.4.4/src/nvim/eval.c:10526:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[30];  // use 30 to avoid compiler warning
data/neovim-0.4.4/src/nvim/eval.c:10551:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MB_MAXBYTES + 1];
data/neovim-0.4.4/src/nvim/eval.c:10653:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    strregname = (const char *)vimvars[VV_REG].vv_str;
data/neovim-0.4.4/src/nvim/eval.c:10695:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    strregname = (const char *)vimvars[VV_REG].vv_str;
data/neovim-0.4.4/src/nvim/eval.c:10704:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN + 2];
data/neovim-0.4.4/src/nvim/eval.c:11209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11382:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int major = atoi(name + 6);
data/neovim-0.4.4/src/nvim/eval.c:11383:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int minor = atoi(name + 8);
data/neovim-0.4.4/src/nvim/eval.c:11390:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                         && has_vim_patch(atoi(name + 10))))));
data/neovim-0.4.4/src/nvim/eval.c:11392:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        n = has_vim_patch(atoi(name + 5));
data/neovim-0.4.4/src/nvim/eval.c:11547:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11578:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11607:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11680:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hostname[256];
data/neovim-0.4.4/src/nvim/eval.c:11698:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11701:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11796:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char prompt_buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11797:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char defstr_buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11798:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cancelreturn_buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11799:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char xp_name_buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:11800:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char def[1] = { 0 };
data/neovim-0.4.4/src/nvim/eval.c:12542:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char numbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:12651:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *libname = (char *) argvars[0].vval.v_string;
data/neovim-0.4.4/src/nvim/eval.c:12652:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *funcname = (char *) argvars[1].vval.v_string;
data/neovim-0.4.4/src/nvim/eval.c:12658:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      ? (char *) argvars[2].vval.v_string : NULL;
data/neovim-0.4.4/src/nvim/eval.c:12771:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:12956:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char patbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13154:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char grpbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char patbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13194:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13381:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13444:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msgbuf[sizeof("msgpackdump() argument, index ") * 4 + NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13579:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MB_MAXBYTES];
data/neovim-0.4.4/src/nvim/eval.c:13653:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:13806:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(s + prevlen, start, len);
data/neovim-0.4.4/src/nvim/eval.c:14100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:14235:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(path_tail((char_u *)p), buf, buf_len + 1);
data/neovim-0.4.4/src/nvim/eval.c:14251:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(cpy, p, p_len + 1);
data/neovim-0.4.4/src/nvim/eval.c:14346:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:14656:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  argv[0] = xstrdup((char *)argvars[0].vval.v_string);
data/neovim-0.4.4/src/nvim/eval.c:14855:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nbuf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:14856:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nbuf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15205:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    bool rv = server_stop((char *)argvars[0].vval.v_string);
data/neovim-0.4.4/src/nvim/eval.c:15366:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char nbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15380:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(bufvarname, "b:", 2);
data/neovim-0.4.4/src/nvim/eval.c:15381:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(bufvarname + 2, varname, varname_len + 1);
data/neovim-0.4.4/src/nvim/eval.c:15439:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char namebuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15440:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char valbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15461:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char modebuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15635:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[30];  // use 30 to avoid compiler warning
data/neovim-0.4.4/src/nvim/eval.c:15658:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group_buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15804:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15865:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tabvarname, "t:", 2);
data/neovim-0.4.4/src/nvim/eval.c:15866:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tabvarname + 2, varname, varname_len + 1);
data/neovim-0.4.4/src/nvim/eval.c:15979:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char nbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:15987:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(winvarname, "w:", 2);
data/neovim-0.4.4/src/nvim/eval.c:15988:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(winvarname + 2, varname, varname_len + 1);
data/neovim-0.4.4/src/nvim/eval.c:16652:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        info.item_compare_func = (const char *)argvars[1].vval.v_string;
data/neovim-0.4.4/src/nvim/eval.c:16917:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char patbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:17128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result_buf[256];
data/neovim-0.4.4/src/nvim/eval.c:17186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:17377:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:17466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char patbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:17467:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char subbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:17468:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char flagsbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:17541:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char modebuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:18061:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/neovim-0.4.4/src/nvim/eval.c:18465:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:18466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:18563:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:18564:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:18867:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)buf, "%dresize %d|", winnr, wp->w_height);
data/neovim-0.4.4/src/nvim/eval.c:18869:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)buf, "vert %dresize %d|", winnr, wp->w_width);
data/neovim-0.4.4/src/nvim/eval.c:19158:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval.c:19684:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MB_MAXBYTES + 1];
data/neovim-0.4.4/src/nvim/eval.c:19861:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)newval, " ++bin");
data/neovim-0.4.4/src/nvim/eval.c:19863:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)newval, " ++nobin");
data/neovim-0.4.4/src/nvim/eval.c:19881:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)newval + STRLEN(newval), " ++bad=%c", eap->bad_char);
data/neovim-0.4.4/src/nvim/eval.c:20986:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char_u *)(ga.ga_data) + ga.ga_len, argstr, len + 1);
data/neovim-0.4.4/src/nvim/eval.c:21558:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char numbuf[20];
data/neovim-0.4.4/src/nvim/eval.c:21580:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(numbuf, "%d", ++func_nr);
data/neovim-0.4.4/src/nvim/eval.c:21834:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sid_buf[20];
data/neovim-0.4.4/src/nvim/eval.c:21876:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(name + 3, sid_buf, sid_buf_len);
data/neovim-0.4.4/src/nvim/eval.c:22350:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(scriptname, "autoload/", sizeof("autoload/") - 1);
data/neovim-0.4.4/src/nvim/eval.c:22351:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(scriptname + sizeof("autoload/") - 1, name, name_len);
data/neovim-0.4.4/src/nvim/eval.c:22361:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(scriptname + auchar_idx, ".vim", sizeof(".vim"));
data/neovim-0.4.4/src/nvim/eval.c:22882:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char buf[MSG_BUF_LEN];
data/neovim-0.4.4/src/nvim/eval.c:24070:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  tv_list_append_string(args, (const char *)argvars[0].vval.v_string, -1);
data/neovim-0.4.4/src/nvim/eval.c:24086:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char func[256];
data/neovim-0.4.4/src/nvim/eval.c:24150:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[32];  // Normalized: "python_compiled" => "python".
data/neovim-0.4.4/src/nvim/eval.c:24154:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256];
data/neovim-0.4.4/src/nvim/eval/decode.c:1079:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&di->di_key[0], mobj.via.map.ptr[i].key.via.str.ptr,
data/neovim-0.4.4/src/nvim/eval/encode.c:69:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(str, buf, line_length);
data/neovim-0.4.4/src/nvim/eval/encode.c:318:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char numbuf[NUMBUFLEN]; \
data/neovim-0.4.4/src/nvim/eval/encode.c:339:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char numbuf[NUMBUFLEN]; \
data/neovim-0.4.4/src/nvim/eval/encode.c:425:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ebuf[NUMBUFLEN + 7]; \
data/neovim-0.4.4/src/nvim/eval/encode.c:460:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ebuf[NUMBUFLEN + 7]; \
data/neovim-0.4.4/src/nvim/eval/encode.c:521:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char numbuf[NUMBUFLEN]; \
data/neovim-0.4.4/src/nvim/eval/encode.c:540:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char numbuf[NUMBUFLEN]; \
data/neovim-0.4.4/src/nvim/eval/executor.c:90:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char numbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval/typval.c:69:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[10 + 1 + ((16 + 3) * 3) + (8 + 2) + 2];
data/neovim-0.4.4/src/nvim/eval/typval.c:1236:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(di->di_key, key, key_len);
data/neovim-0.4.4/src/nvim/eval/typval.c:1461:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char numbuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval/typval.c:2523:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf1[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval/typval.c:2524:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf2[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval/typval.c:2643:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  [VAR_FLOAT]=((const char *)e_float_as_string),
data/neovim-0.4.4/src/nvim/eval/typval.c:2878:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char mybuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/eval/typval.c:2901:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char mybuf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/event/socket.h:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char addr[ADDRESS_MAX_SIZE];
data/neovim-0.4.4/src/nvim/ex_cmds.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf1[20];
data/neovim-0.4.4/src/nvim/ex_cmds.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf2[20];
data/neovim-0.4.4/src/nvim/ex_cmds.c:242:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  width = atoi((char *)eap->arg);
data/neovim-0.4.4/src/nvim/ex_cmds.c:410:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(sortbuf1, ml_get(l1.lnum) + l1.st_u.line.start_col_nr,
data/neovim-0.4.4/src/nvim/ex_cmds.c:413:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(sortbuf2, ml_get(l2.lnum) + l2.st_u.line.start_col_nr,
data/neovim-0.4.4/src/nvim/ex_cmds.c:1524:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char numbuf[30];
data/neovim-0.4.4/src/nvim/ex_cmds.c:2269:19:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          tlnum = atol((char *)command);
data/neovim-0.4.4/src/nvim/ex_cmds.c:2904:15:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    bigness = atol((char *)x);
data/neovim-0.4.4/src/nvim/ex_cmds.c:5088:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              FILE *const fd = os_fopen((char *)fnames[fi], "r");
data/neovim-0.4.4/src/nvim/ex_cmds.c:5217:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(NameBuff, dir, dirlen + 1);
data/neovim-0.4.4/src/nvim/ex_cmds.c:5244:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    FILE *const fd = os_fopen((char *)files[fi], "r");
data/neovim-0.4.4/src/nvim/ex_cmds2.c:369:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int level = atoi((char *)arg);
data/neovim-0.4.4/src/nvim/ex_cmds2.c:681:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    nr = atoi((char *)eap->arg);
data/neovim-0.4.4/src/nvim/ex_docmd.c:1457:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        p_verbose = atoi((char *)ea.cmd);
data/neovim-0.4.4/src/nvim/ex_docmd.c:4069:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, program, i);
data/neovim-0.4.4/src/nvim/ex_docmd.c:4990:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    return (char *)command_complete[arg];
data/neovim-0.4.4/src/nvim/ex_docmd.c:5057:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf((char *)IObuff + len, "%" PRId64 "c", (int64_t)cmd->uc_def);
data/neovim-0.4.4/src/nvim/ex_docmd.c:5063:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf((char *)IObuff + len, "%" PRId64 "", (int64_t)cmd->uc_def);
data/neovim-0.4.4/src/nvim/ex_docmd.c:5596:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char num_buf[20];
data/neovim-0.4.4/src/nvim/ex_docmd.c:6952:7:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  n = atol((char *)eap->arg);
data/neovim-0.4.4/src/nvim/ex_docmd.c:7298:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[MAXPATHL];
data/neovim-0.4.4/src/nvim/ex_docmd.c:8619:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char strbuf[30];
data/neovim-0.4.4/src/nvim/ex_docmd.c:9784:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(s, ".vim");
data/neovim-0.4.4/src/nvim/ex_docmd.c:10136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ex_cmd[1024];
data/neovim-0.4.4/src/nvim/ex_docmd.c:10152:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempstring[512];
data/neovim-0.4.4/src/nvim/ex_docmd.c:10153:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shell_argv[512] = { 0 };
data/neovim-0.4.4/src/nvim/ex_docmd.c:10223:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[20];
data/neovim-0.4.4/src/nvim/ex_docmd.c:10227:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char arg[2] = { 0, 0 };
data/neovim-0.4.4/src/nvim/ex_eval.h:27:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cs_pending[CSTACK_LEN];          // CSTP_: what's pending in ":finally"
data/neovim-0.4.4/src/nvim/ex_getln.c:385:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char firstcbuf[2];
data/neovim-0.4.4/src/nvim/ex_getln.c:1794:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char firstcbuf[2];
data/neovim-0.4.4/src/nvim/ex_getln.c:2986:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf + indent, line, strlen(line));  // -V575
data/neovim-0.4.4/src/nvim/ex_getln.c:3979:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        p = (char_u *)vim_strsave_fnameescape((const char *)files[i], false);
data/neovim-0.4.4/src/nvim/ex_getln.c:3981:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        p = (char_u *)vim_strsave_fnameescape((const char *)files[i],
data/neovim-0.4.4/src/nvim/ex_getln.c:5446:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&temp[0], &history[type][i2], (size_t)l2 * sizeof(*temp));
data/neovim-0.4.4/src/nvim/ex_getln.c:5448:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&temp[l2], &history[type][i1], (size_t)l1 * sizeof(*temp));
data/neovim-0.4.4/src/nvim/file_search.c:765:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (path_with_url((char *)dirptrs[0])) {
data/neovim-0.4.4/src/nvim/file_search.c:1581:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[8];
data/neovim-0.4.4/src/nvim/file_search.c:1619:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir[MAXPATHL];
data/neovim-0.4.4/src/nvim/fileio.c:1851:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf((char *)IObuff + STRLEN(IObuff),
data/neovim-0.4.4/src/nvim/fileio.c:1855:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf((char *)IObuff + STRLEN(IObuff),
data/neovim-0.4.4/src/nvim/fileio.c:2678:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf((char *)path_tail(IObuff), "%d", i);
data/neovim-0.4.4/src/nvim/fileio.c:3783:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
     sprintf((char *)p, "%" PRId64 "L, %" PRId64 "C",
data/neovim-0.4.4/src/nvim/fileio.c:3790:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf((char *)p, _("%" PRId64 " lines, "), (int64_t)lnum);
data/neovim-0.4.4/src/nvim/fileio.c:3795:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf((char *)p, _("%" PRId64 " characters"), (int64_t)nchars);
data/neovim-0.4.4/src/nvim/fileio.c:4399:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tbuf[200];
data/neovim-0.4.4/src/nvim/fileio.c:5262:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (delete_recursive((const char *)files[i]) != 0) {
data/neovim-0.4.4/src/nvim/fileio.c:6130:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          buflocal_nr = atoi((char *)pat + 8);
data/neovim-0.4.4/src/nvim/fileio.c:6136:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf((char *)buflocal_pat, "<buffer=%d>", buflocal_nr);
data/neovim-0.4.4/src/nvim/fold.c:1619:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newline + line_len + (p - cms), marker, markerlen);
data/neovim-0.4.4/src/nvim/fold.c:1687:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newline, line, (size_t)(p - line));
data/neovim-0.4.4/src/nvim/fold.c:1719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dashes[MAX_LEVEL + 2];
data/neovim-0.4.4/src/nvim/fold.c:3016:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        n = atoi((char *)s);
data/neovim-0.4.4/src/nvim/fold.c:3035:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        n = atoi((char *)s);
data/neovim-0.4.4/src/nvim/garray.c:216:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(data + gap->ga_len, s, len);
data/neovim-0.4.4/src/nvim/getchar.c:304:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char number[32];
data/neovim-0.4.4/src/nvim/getchar.c:329:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[4];
data/neovim-0.4.4/src/nvim/getchar.c:1114:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[2] = { (char)c, NUL };
data/neovim-0.4.4/src/nvim/globals.h:719:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
EXTERN char os_buf[                         ///< Buffer for the os/ layer
data/neovim-0.4.4/src/nvim/globals.h:879:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
EXTERN char pseps[2] INIT(= { '\\', 0 });  // normal path separator string
data/neovim-0.4.4/src/nvim/hardcopy.c:186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char        *(ps_fontname[4]);
data/neovim-0.4.4/src/nvim/hardcopy.c:385:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      colorindex = atoi(color);
data/neovim-0.4.4/src/nvim/hardcopy.c:489:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char *(units[4]) = PRT_UNIT_NAMES;
data/neovim-0.4.4/src/nvim/hardcopy.c:737:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf((char *)IObuff, _("Printing page %d (%zu%%)"),
data/neovim-0.4.4/src/nvim/hardcopy.c:744:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf((char *)IObuff + STRLEN(IObuff),
data/neovim-0.4.4/src/nvim/hardcopy.c:1297:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char prt_cmap[80];
data/neovim-0.4.4/src/nvim/hardcopy.c:1337:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)prt_line_buffer, "%d ", i);
data/neovim-0.4.4/src/nvim/hardcopy.c:1420:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)prt_line_buffer, "%d", integer);
data/neovim-0.4.4/src/nvim/hardcopy.c:1430:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)prt_line_buffer, ".%0*d", prec, fraction);
data/neovim-0.4.4/src/nvim/hardcopy.c:1446:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)prt_line_buffer, "d\n");
data/neovim-0.4.4/src/nvim/hardcopy.c:1830:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)prt_line_buffer, " %d", ints[i]);
data/neovim-0.4.4/src/nvim/hardcopy.c:1876:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)prt_line_buffer, "%%%%Requirements:");
data/neovim-0.4.4/src/nvim/hardcopy.c:1891:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)prt_line_buffer, "%d", num_copies);
data/neovim-0.4.4/src/nvim/hardcopy.c:2235:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    paper_name = (char *)printer_opts[OPT_PRINT_PAPER].string;
data/neovim-0.4.4/src/nvim/hardcopy.c:2281:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      fontsize = atoi((char *)p + 2);
data/neovim-0.4.4/src/nvim/hardcopy.c:2431:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/neovim-0.4.4/src/nvim/hardcopy.c:3028:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf((char *)ch_buff, "%03o", (unsigned int)ch);
data/neovim-0.4.4/src/nvim/highlight.c:125:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      ui->hl_group_set(ui, cstr_as_string((char *)hlf_names[hlf]),
data/neovim-0.4.4/src/nvim/if_cscope.c:119:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char connection[5];
data/neovim-0.4.4/src/nvim/if_cscope.c:589:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    nlines = atoi(stok);
data/neovim-0.4.4/src/nvim/if_cscope.c:765:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
      (void)strcat(cmd, " -P");
data/neovim-0.4.4/src/nvim/if_cscope.c:1214:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    num = atoi(stok);
data/neovim-0.4.4/src/nvim/if_cscope.c:1466:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(context, "<<global>>");
data/neovim-0.4.4/src/nvim/if_cscope.c:1893:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[25];  // for snprintf " (#%zu)"
data/neovim-0.4.4/src/nvim/indent_c.c:1685:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      fraction = atoi((char *)++p);
data/neovim-0.4.4/src/nvim/lib/kbtree.h:163:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(__KB_KEY(key_t, z), &__KB_KEY(key_t, y)[T], sizeof(key_t) * (T - 1)); \
data/neovim-0.4.4/src/nvim/lib/kbtree.h:164:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		if (y->is_internal) memcpy(__KB_PTR(b, z), &__KB_PTR(b, y)[T], sizeof(void*) * T); \
data/neovim-0.4.4/src/nvim/lib/kvec.h:94:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((v1).items, (v0).items, sizeof((v1).items[0]) * (v0).size); \
data/neovim-0.4.4/src/nvim/lib/kvec.h:144:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest, src, size);
data/neovim-0.4.4/src/nvim/lib/kvec.h:168:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                     ? memcpy(xmalloc((v).capacity * sizeof((v).items[0])), \
data/neovim-0.4.4/src/nvim/log.c:30:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char log_file_path[MAXPATHL + 1] = { 0 };
data/neovim-0.4.4/src/nvim/log.c:47:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *log_file = fopen(fname, "a");
data/neovim-0.4.4/src/nvim/log.c:188:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    log_file = fopen(log_file_path, "a");
data/neovim-0.4.4/src/nvim/log.c:213:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char exepath[MAXPATHL] = { 0 };
data/neovim-0.4.4/src/nvim/log.c:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cmdbuf[IOSIZE + (20 * ARRAY_SIZE(trace)) + MAXPATHL];
data/neovim-0.4.4/src/nvim/log.c:223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[20];  // 64-bit pointer 0xNNNNNNNNNNNNNNNN with leading space.
data/neovim-0.4.4/src/nvim/log.c:233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char linebuf[IOSIZE];
data/neovim-0.4.4/src/nvim/log.c:291:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char date_time[20];
data/neovim-0.4.4/src/nvim/lua/executor.c:177:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *error = (char *)argv[0];
data/neovim-0.4.4/src/nvim/lua/executor.c:602:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(lcmd, EVALHEADER, sizeof(EVALHEADER) - 1);
data/neovim-0.4.4/src/nvim/lua/executor.c:603:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(lcmd + sizeof(EVALHEADER) - 1, str.data, str.size);
data/neovim-0.4.4/src/nvim/lua/executor.c:749:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(lcmd, DOSTART, sizeof(DOSTART) - 1);
data/neovim-0.4.4/src/nvim/lua/executor.c:750:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(lcmd + sizeof(DOSTART) - 1, cmd, cmd_len);
data/neovim-0.4.4/src/nvim/lua/executor.c:751:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(lcmd + sizeof(DOSTART) - 1 + cmd_len, DOEND, sizeof(DOEND) - 1);
data/neovim-0.4.4/src/nvim/lua/executor.h:20:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&err_->msg[0], s, sizeof(s)); \
data/neovim-0.4.4/src/nvim/main.c:99:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *commands[MAX_ARG_CMDS];              // commands from + or -c arg
data/neovim-0.4.4/src/nvim/main.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *pre_commands[MAX_ARG_CMDS];          // commands from --cmd argument
data/neovim-0.4.4/src/nvim/main.c:704:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    def = atoi(&(p[*idx]));
data/neovim-0.4.4/src/nvim/main.c:723:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char localepath[MAXPATHL] = { 0 };
data/neovim-0.4.4/src/nvim/main.c:1305:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char exepath[MAXPATHL] = { 0 };
data/neovim-0.4.4/src/nvim/main.c:1590:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[100];
data/neovim-0.4.4/src/nvim/main.c:1746:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(vimrc, dir, dir_len);
data/neovim-0.4.4/src/nvim/main.c:1748:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(vimrc + dir_len + 1, path_tail, sizeof(path_tail));
data/neovim-0.4.4/src/nvim/mark.c:804:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf((char *)IObuff, "%c %2d %5ld %4d ",
data/neovim-0.4.4/src/nvim/mark.c:846:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf((char *)IObuff, "%c %3d %5ld %4d ",
data/neovim-0.4.4/src/nvim/mbyte.c:1369:17:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  int bufsize = MultiByteToWideChar(CP_UTF8,
data/neovim-0.4.4/src/nvim/mbyte.c:1386:13:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  bufsize = MultiByteToWideChar(CP_UTF8, 0, utf8, utf8len, *utf16, bufsize);
data/neovim-0.4.4/src/nvim/mbyte.c:1563:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)IObuff + rlen, "%02x ",
data/neovim-0.4.4/src/nvim/mbyte.c:1866:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[6];
data/neovim-0.4.4/src/nvim/mbyte.c:2008:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[50];
data/neovim-0.4.4/src/nvim/memline.c:664:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char uname[B0_UNAME_SIZE];
data/neovim-0.4.4/src/nvim/memline.c:1415:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          msg_puts((const char *)path_tail(files[i]));
data/neovim-0.4.4/src/nvim/memline.c:1506:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char uname[B0_UNAME_SIZE];
data/neovim-0.4.4/src/nvim/memline.c:3505:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(name, sw_msg_1, sw_msg_1_len + 1);
data/neovim-0.4.4/src/nvim/memory.c:200:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(xmallocz(len), data, len);
data/neovim-0.4.4/src/nvim/memory.c:318:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *)memcpy(dst, src, len + 1) + len;
data/neovim-0.4.4/src/nvim/memory.c:343:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, src, srclen);
data/neovim-0.4.4/src/nvim/memory.c:347:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, src, maxlen);
data/neovim-0.4.4/src/nvim/memory.c:371:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, src, len);
data/neovim-0.4.4/src/nvim/memory.c:477:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(xmalloc(len), data, len);
data/neovim-0.4.4/src/nvim/menu.c:685:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MB_MAXCHAR + 1] = { 0 };  // > max value of utf8_char2bytes
data/neovim-0.4.4/src/nvim/message.c:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAX_MCO];
data/neovim-0.4.4/src/nvim/message.c:768:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char  errbuf[MULTILINE_BUFSIZE];
data/neovim-0.4.4/src/nvim/message.c:785:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char errbuf[IOSIZE];
data/neovim-0.4.4/src/nvim/message.c:1345:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MB_MAXBYTES + 1];
data/neovim-0.4.4/src/nvim/message.c:1360:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[20];
data/neovim-0.4.4/src/nvim/message.c:1593:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[7];
data/neovim-0.4.4/src/nvim/message.c:1664:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, s, s_len);
data/neovim-0.4.4/src/nvim/message.c:1717:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MB_MAXBYTES + 1];
data/neovim-0.4.4/src/nvim/message.c:1934:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char msgbuf[IOSIZE];
data/neovim-0.4.4/src/nvim/message.c:2352:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(mp->sb_text, *sb_str, s - *sb_str);
data/neovim-0.4.4/src/nvim/message.c:2513:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[7];
data/neovim-0.4.4/src/nvim/message.c:2524:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, s, len);
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:219:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:257:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:310:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[256];
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:423:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:441:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(msgpack_unpacker_buffer(channel->rpc.unpacker),
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:762:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              .ptr = (char *)msgpack_error_messages[result + MUR_OFF],
data/neovim-0.4.4/src/nvim/msgpack_rpc/server.c:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char template[ADDRESS_MAX_SIZE];
data/neovim-0.4.4/src/nvim/msgpack_rpc/server.c:184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char addr[ADDRESS_MAX_SIZE];
data/neovim-0.4.4/src/nvim/normal.c:3321:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf((char *)showcmd_buf, "%d", chars);
data/neovim-0.4.4/src/nvim/normal.c:3323:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf((char *)showcmd_buf, "%d-%d", chars, bytes);
data/neovim-0.4.4/src/nvim/normal.c:7155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char opchars[3];
data/neovim-0.4.4/src/nvim/ops.c:2583:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char namebuf[100];
data/neovim-0.4.4/src/nvim/ops.c:2664:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[NUMBUFLEN+2];
data/neovim-0.4.4/src/nvim/ops.c:5155:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int num = atoi((char *)str);
data/neovim-0.4.4/src/nvim/ops.c:5189:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(expr_line + offset, str, (size_t)len);
data/neovim-0.4.4/src/nvim/ops.c:5288:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(s, pp[lnum], extra);
data/neovim-0.4.4/src/nvim/ops.c:5289:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(s + extra, start, line_len);
data/neovim-0.4.4/src/nvim/option.c:616:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char     *(names[4]) = {"", "TMPDIR", "TEMP", "TMP"};
data/neovim-0.4.4/src/nvim/option.c:618:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char     *(names[3]) = {"TMPDIR", "TEMP", "TMP"};
data/neovim-0.4.4/src/nvim/option.c:778:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      p = _(*(char **)options[opt_idx].var);
data/neovim-0.4.4/src/nvim/option.c:784:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      *(char **)options[opt_idx].var = p;
data/neovim-0.4.4/src/nvim/option.c:2099:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi((char *)p);
data/neovim-0.4.4/src/nvim/option.c:3810:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(wp->w_hl_ids, w_hl_ids, sizeof(w_hl_ids));
data/neovim-0.4.4/src/nvim/option.c:4139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_old[2];
data/neovim-0.4.4/src/nvim/option.c:4140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_new[2];
data/neovim-0.4.4/src/nvim/option.c:4141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_type[7];
data/neovim-0.4.4/src/nvim/option.c:4545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_old[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/option.c:4546:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_new[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/option.c:4547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_type[7];
data/neovim-0.4.4/src/nvim/option.c:4583:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf_type[7];
data/neovim-0.4.4/src/nvim/option_defs.h:316:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
EXTERN char breakat_flags[256];   // which characters are in 'breakat'
data/neovim-0.4.4/src/nvim/os/env.c:99:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1];
data/neovim-0.4.4/src/nvim/os/env.c:259:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  wchar_t host_utf16[MAX_COMPUTERNAME_LENGTH + 1];
data/neovim-0.4.4/src/nvim/os/env.c:449:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char *)dst, (char *)var, len);
data/neovim-0.4.4/src/nvim/os/env.c:789:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exe_name[MAXPATHL];
data/neovim-0.4.4/src/nvim/os/fileio.c:244:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char writebuf[kRWBufferSize];
data/neovim-0.4.4/src/nvim/os/fileio.c:383:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char skipbuf[kRWBufferSize];
data/neovim-0.4.4/src/nvim/os/fs.c:359:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  char *path = memcpy(xmallocz(pathlen + 2), "." ENV_SEPSTR, 2);
data/neovim-0.4.4/src/nvim/os/fs.c:360:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(path + 2, path_env, pathlen);
data/neovim-0.4.4/src/nvim/os/input.c:336:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buf + 3, buf, 3);
data/neovim-0.4.4/src/nvim/os/lang.c:49:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[20] = { 0 };
data/neovim-0.4.4/src/nvim/os/process.c:197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char proc_p[256] = { 0 };
data/neovim-0.4.4/src/nvim/os/process.c:201:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen(proc_p, "r");
data/neovim-0.4.4/src/nvim/os/shell.c:245:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char prog[MAXPATHL];
data/neovim-0.4.4/src/nvim/os/shell.c:449:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char    last_skipped[MAX_CHUNK_SIZE];  // Saved output.
data/neovim-0.4.4/src/nvim/os/shell.c:467:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(last_skipped, output + start, MAX_CHUNK_SIZE);
data/neovim-0.4.4/src/nvim/os/shell.c:478:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(last_skipped + keep_len, output, size);
data/neovim-0.4.4/src/nvim/os/shell.c:622:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buf->data + buf->len, lp + written, len);
data/neovim-0.4.4/src/nvim/os_unix.c:386:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = fopen((char *)tempname, READBIN);
data/neovim-0.4.4/src/nvim/os_unix.c:538:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        && !os_can_exe((char *)(*file)[i], NULL, !(flags & EW_SHELLCMD))) {
data/neovim-0.4.4/src/nvim/path.c:426:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p + len, PATHSEPSTR, pathsep_len);
data/neovim-0.4.4/src/nvim/path.c:608:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, path_end, len);
data/neovim-0.4.4/src/nvim/path.c:2061:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      ffname = (char_u *)FullName_save((char *)(*files)[i], false);
data/neovim-0.4.4/src/nvim/path.c:2150:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char old_dir[MAXPATHL];
data/neovim-0.4.4/src/nvim/path.c:2246:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(relative_directory, fname, (size_t)(p - fname));
data/neovim-0.4.4/src/nvim/popupmnu.c:151:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          ADD(item, STRING_OBJ(cstr_to_string((char *)array[i].pum_text)));
data/neovim-0.4.4/src/nvim/popupmnu.c:152:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          ADD(item, STRING_OBJ(cstr_to_string((char *)array[i].pum_kind)));
data/neovim-0.4.4/src/nvim/popupmnu.c:153:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          ADD(item, STRING_OBJ(cstr_to_string((char *)array[i].pum_extra)));
data/neovim-0.4.4/src/nvim/popupmnu.c:154:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          ADD(item, STRING_OBJ(cstr_to_string((char *)array[i].pum_info)));
data/neovim-0.4.4/src/nvim/profile.c:46:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[50];
data/neovim-0.4.4/src/nvim/quickfix.c:624:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(state->growbuf, IObuff, IOSIZE - 1);
data/neovim-0.4.4/src/nvim/quickfix.c:1129:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    fields->enr = (int)atol((char *)regmatch->startp[i]);
data/neovim-0.4.4/src/nvim/quickfix.c:1135:20:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    fields->lnum = atol((char *)regmatch->startp[i]);
data/neovim-0.4.4/src/nvim/quickfix.c:1141:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    fields->col = (int)atol((char *)regmatch->startp[i]);
data/neovim-0.4.4/src/nvim/quickfix.c:1195:24:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    fields->col = (int)atol((char *)regmatch->startp[i]);
data/neovim-0.4.4/src/nvim/quickfix.c:2925:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[32];
data/neovim-0.4.4/src/nvim/quickfix.c:3379:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf((char *)IObuff + len, " col %d", qfp->qf_col);
data/neovim-0.4.4/src/nvim/quickfix.c:3638:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)name + (p - p_mef), "%d%d", start, off);
data/neovim-0.4.4/src/nvim/quickfix.c:5408:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    buf = buflist_findnr(atoi((char *)eap->arg));
data/neovim-0.4.4/src/nvim/quickfix.c:5638:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          fd = os_fopen((char *)fnames[fi], "r");
data/neovim-0.4.4/src/nvim/rbuffer.c:166:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(wptr, src, copy_count);
data/neovim-0.4.4/src/nvim/rbuffer.c:186:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, rptr, copy_count);
data/neovim-0.4.4/src/nvim/regexp.c:5813:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen("bt_regexp_log.log", "a");
data/neovim-0.4.4/src/nvim/regexp.c:5889:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[50];
data/neovim-0.4.4/src/nvim/regexp.c:6131:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "MOPEN%d", OP(op) - MOPEN);
data/neovim-0.4.4/src/nvim/regexp.c:6146:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "MCLOSE%d", OP(op) - MCLOSE);
data/neovim-0.4.4/src/nvim/regexp.c:6158:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "BACKREF%d", OP(op) - BACKREF);
data/neovim-0.4.4/src/nvim/regexp.c:6176:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "ZOPEN%d", OP(op) - ZOPEN);
data/neovim-0.4.4/src/nvim/regexp.c:6188:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "ZCLOSE%d", OP(op) - ZCLOSE);
data/neovim-0.4.4/src/nvim/regexp.c:6200:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "ZREF%d", OP(op) - ZREF);
data/neovim-0.4.4/src/nvim/regexp.c:6240:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "BRACE_COMPLEX%d", OP(op) - BRACE_COMPLEX);
data/neovim-0.4.4/src/nvim/regexp.c:6250:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf + STRLEN(buf), "corrupt %d", OP(op));
data/neovim-0.4.4/src/nvim/regexp.c:6681:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[NUMBUFLEN];
data/neovim-0.4.4/src/nvim/regexp.c:7177:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *f = fopen(BT_REGEXP_DEBUG_LOG_NAME, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:2482:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(NFA_REGEXP_DUMP_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:2576:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *debugf = fopen(NFA_REGEXP_DUMP_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:2712:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  df = fopen(NFA_REGEXP_ERROR_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:3567:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[30];
data/neovim-0.4.4/src/nvim/regexp_nfa.c:3572:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, " PIM col %d", REG_MULTI ? (int)pim->end.pos.col
data/neovim-0.4.4/src/nvim/regexp_nfa.c:4753:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  log_fd = fopen(NFA_REGEXP_RUN_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:5038:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE        *debug = fopen(NFA_REGEXP_DEBUG_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:5071:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  log_fd = fopen(NFA_REGEXP_RUN_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:6367:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(NFA_REGEXP_RUN_LOG, "a");
data/neovim-0.4.4/src/nvim/regexp_nfa.c:6600:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(NFA_REGEXP_RUN_LOG, "a");
data/neovim-0.4.4/src/nvim/screen.c:2774:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy(extra, p_extra, symbol_blen);
data/neovim-0.4.4/src/nvim/screen.c:5150:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        if (atoi((char *)stl))
data/neovim-0.4.4/src/nvim/search.c:418:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(lastc_bytes, s, len);
data/neovim-0.4.4/src/nvim/search.c:1113:30:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          spats[0].off.off = atol((char *)p);
data/neovim-0.4.4/src/nvim/search.c:3455:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)spat, "<%.*s\\>\\%%(\\s\\_[^>]\\{-}[^/]>\\|>\\)\\c", len, p);
data/neovim-0.4.4/src/nvim/search.c:3456:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)epat, "</%.*s>\\c", len, p);
data/neovim-0.4.4/src/nvim/search.c:4286:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char t[SEARCH_STAT_BUF_LEN] = "";
data/neovim-0.4.4/src/nvim/search.c:4977:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pat, &(spats[0]), sizeof(spats[0]));
data/neovim-0.4.4/src/nvim/search.c:4983:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pat, &(spats[1]), sizeof(spats[1]));
data/neovim-0.4.4/src/nvim/search.c:4991:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&(spats[0]), &pat, sizeof(spats[0]));
data/neovim-0.4.4/src/nvim/search.c:4999:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&(spats[1]), &pat, sizeof(spats[1]));
data/neovim-0.4.4/src/nvim/sha256.c:201:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void *)(ctx->buffer + left), (void *)input, fill);
data/neovim-0.4.4/src/nvim/sha256.c:215:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void *)(ctx->buffer + left), (void *)input, length);
data/neovim-0.4.4/src/nvim/sha256.c:269:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char hexit[SHA256_BUFFER_SIZE + 1];  // buf size + NULL
data/neovim-0.4.4/src/nvim/sha256.c:310:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char output[SHA256_BUFFER_SIZE + 1];  // buf size + NULL
data/neovim-0.4.4/src/nvim/shada.c:1661:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char vardesc[256] = "variable g:";
data/neovim-0.4.4/src/nvim/shada.c:1662:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&vardesc[sizeof("variable g:") - 1], varname.data,
data/neovim-0.4.4/src/nvim/shada.c:2025:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char ret[1024];
data/neovim-0.4.4/src/nvim/shada.c:3482:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(((char *)ad_ga.ga_data) + ((size_t)ad_ga.ga_len \
data/neovim-0.4.4/src/nvim/shada.c:3877:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(entry->data.history_item.string,
data/neovim-0.4.4/src/nvim/shada.c:4061:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char part[MAXPATHL + 1];
data/neovim-0.4.4/src/nvim/shada.c:4252:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest, sbuf->data + sd_reader->fpos, (size_t)bytes_read);
data/neovim-0.4.4/src/nvim/sign.c:525:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  lbuf[MSG_BUF_LEN];
data/neovim-0.4.4/src/nvim/sign.c:526:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  group[MSG_BUF_LEN];
data/neovim-0.4.4/src/nvim/sign.c:1145:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *lnum = atoi((char *)arg);
data/neovim-0.4.4/src/nvim/sign.c:1175:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *prio = atoi((char *)arg);
data/neovim-0.4.4/src/nvim/spell.c:1629:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char autocmd_buf[512] = { 0 };
data/neovim-0.4.4/src/nvim/spell.c:1824:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(wc->wc_word, p, p_len + 1);
data/neovim-0.4.4/src/nvim/spell.c:3517:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fd = fopen("suggestprof", "a");
data/neovim-0.4.4/src/nvim/spell.c:3715:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(changename[depth], "prefix");
data/neovim-0.4.4/src/nvim/spell.c:5275:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(sft->sft_word, goodword, goodword_len + 1);
data/neovim-0.4.4/src/nvim/spellfile.c:552:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[VIMSPELLMAGICL];
data/neovim-0.4.4/src/nvim/spellfile.c:1076:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAXWLEN + 1];
data/neovim-0.4.4/src/nvim/spellfile.c:1878:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line1[PRINTLINESIZE];
data/neovim-0.4.4/src/nvim/spellfile.c:1879:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line2[PRINTLINESIZE];
data/neovim-0.4.4/src/nvim/spellfile.c:1880:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line3[PRINTLINESIZE];
data/neovim-0.4.4/src/nvim/spellfile.c:2186:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        if (atoi((char *)items[1]) == 0)
data/neovim-0.4.4/src/nvim/spellfile.c:2186:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (atoi((char *)items[1]) == 0)
data/neovim-0.4.4/src/nvim/spellfile.c:2207:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        compmax = atoi((char *)items[1]);
data/neovim-0.4.4/src/nvim/spellfile.c:2207:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        compmax = atoi((char *)items[1]);
data/neovim-0.4.4/src/nvim/spellfile.c:2213:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        compminlen = atoi((char *)items[1]);
data/neovim-0.4.4/src/nvim/spellfile.c:2213:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        compminlen = atoi((char *)items[1]);
data/neovim-0.4.4/src/nvim/spellfile.c:2219:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        compsylmax = atoi((char *)items[1]);
data/neovim-0.4.4/src/nvim/spellfile.c:2219:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        compsylmax = atoi((char *)items[1]);
data/neovim-0.4.4/src/nvim/spellfile.c:2232:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        if (atoi((char *)items[1]) == 0)
data/neovim-0.4.4/src/nvim/spellfile.c:2232:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (atoi((char *)items[1]) == 0)
data/neovim-0.4.4/src/nvim/spellfile.c:2356:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        aff_todo = atoi((char *)items[3]);
data/neovim-0.4.4/src/nvim/spellfile.c:2356:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        aff_todo = atoi((char *)items[3]);
data/neovim-0.4.4/src/nvim/spellfile.c:3744:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(getroom(spin, s_size, false), s, s_size);
data/neovim-0.4.4/src/nvim/spellfile.c:5123:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      vim_snprintf((char *)wfname, MAXPATHL, SPL_FNAME_TMPL,
data/neovim-0.4.4/src/nvim/spellfile.c:5130:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      vim_snprintf((char *)wfname, MAXPATHL, SPL_FNAME_TMPL,
data/neovim-0.4.4/src/nvim/strings.c:113:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p2, p, l);
data/neovim-0.4.4/src/nvim/strings.c:354:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(s, res, (size_t)(p - res));
data/neovim-0.4.4/src/nvim/strings.c:446:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char u8char[MB_MAXBYTES + 1];
data/neovim-0.4.4/src/nvim/strings.c:791:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[TMP_LEN];
data/neovim-0.4.4/src/nvim/strings.c:1197:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char format[40];
data/neovim-0.4.4/src/nvim/syntax.c:225:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *(spo_name_tab[SPO_COUNT]) =
data/neovim-0.4.4/src/nvim/syntax.c:3429:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/neovim-0.4.4/src/nvim/syntax.c:3430:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, "so ", 4);
data/neovim-0.4.4/src/nvim/syntax.c:6371:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *(color_names[28]) = {
data/neovim-0.4.4/src/nvim/syntax.c:6758:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            color = atoi((char *)arg);
data/neovim-0.4.4/src/nvim/syntax.c:7124:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          xstrlcat((char *)buf, hl_name_table[i], 100);
data/neovim-0.4.4/src/nvim/syntax.c:7182:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char name[20];
data/neovim-0.4.4/src/nvim/syntax.c:7218:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      return (const char *)HL_TABLE()[id - 1].sg_rgb_fg_name;
data/neovim-0.4.4/src/nvim/syntax.c:7221:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      return (const char *)HL_TABLE()[id - 1].sg_rgb_sp_name;
data/neovim-0.4.4/src/nvim/syntax.c:7223:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    return (const char *)HL_TABLE()[id - 1].sg_rgb_bg_name;
data/neovim-0.4.4/src/nvim/syntax.c:7598:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      ui_call_hl_group_set(cstr_as_string((char *)hlf_names[hlf]),
data/neovim-0.4.4/src/nvim/syntax.c:7620:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf((char *)userhl, "User%d", i + 1);
data/neovim-0.4.4/src/nvim/syntax.c:7737:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  return (const char *)HL_TABLE()[idx].sg_name;
data/neovim-0.4.4/src/nvim/tag.c:92:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char     *mt_names[MT_COUNT/2] =
data/neovim-0.4.4/src/nvim/tag.c:701:20:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            lnum = atol((char *)tagp.command);
data/neovim-0.4.4/src/nvim/terminal.c:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char textbuf[0x1fff];
data/neovim-0.4.4/src/nvim/terminal.c:230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char var[64];
data/neovim-0.4.4/src/nvim/terminal.c:528:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      terminal_send(curbuf->terminal, (char *)y_array[j], STRLEN(y_array[j]));
data/neovim-0.4.4/src/nvim/terminal.c:766:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(sbrow->cells, cells, sizeof(cells[0]) * c);
data/neovim-0.4.4/src/nvim/terminal.c:801:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(cells, sbrow->cells, sizeof(cells[0]) * cols_to_copy);
data/neovim-0.4.4/src/nvim/tui/input.c:178:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/neovim-0.4.4/src/nvim/tui/input.c:196:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/neovim-0.4.4/src/nvim/tui/input.c:213:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/neovim-0.4.4/src/nvim/tui/tui.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[OUTBUF_SIZE];
data/neovim-0.4.4/src/nvim/tui/tui.c:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char norm[CNORM_COMMAND_MAX_SIZE];
data/neovim-0.4.4/src/nvim/tui/tui.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char invis[CNORM_COMMAND_MAX_SIZE];
data/neovim-0.4.4/src/nvim/tui/tui.c:1301:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(grid->cells[linerow][c].data, chunk[c-startcol], sizeof(schar_T));
data/neovim-0.4.4/src/nvim/tui/tui.c:1471:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data->buf + data->bufpos, str, len);
data/neovim-0.4.4/src/nvim/tui/tui.c:2005:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char stty_erase[2] = { 0 };
data/neovim-0.4.4/src/nvim/ugrid.c:77:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(target_row, source_row,
data/neovim-0.4.4/src/nvim/ugrid.h:13:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[CELLBYTES + 1];
data/neovim-0.4.4/src/nvim/ui.c:68:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char uilog_last_event[1024] = { 0 };
data/neovim-0.4.4/src/nvim/ui.c:204:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      ui_call_option_set(cstr_as_string((char *)ui_ext_names[i]),
data/neovim-0.4.4/src/nvim/ui.c:346:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    ui->option_set(ui, cstr_as_string((char *)ui_ext_names[ext]),
data/neovim-0.4.4/src/nvim/ui_compositor.c:361:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(linebuf[i-startcol], msg_sep_char, sizeof(*linebuf));
data/neovim-0.4.4/src/nvim/ui_compositor.c:367:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(linebuf+(col-startcol), grid->chars+off, n * sizeof(*linebuf));
data/neovim-0.4.4/src/nvim/ui_compositor.c:368:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(attrbuf+(col-startcol), grid->attrs+off, n * sizeof(*attrbuf));
data/neovim-0.4.4/src/nvim/ui_compositor.c:385:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        bool thru = strequal((char *)linebuf[i], " ") && bg_line[i][0] != NUL;
data/neovim-0.4.4/src/nvim/ui_compositor.c:388:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          thru &= strequal((char *)linebuf[i+1], " ");
data/neovim-0.4.4/src/nvim/ui_compositor.c:396:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(linebuf + i, bg_line + i, (size_t)width * sizeof(linebuf[i]));
data/neovim-0.4.4/src/nvim/undo.c:647:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dir_name[MAXPATHL + 1];
data/neovim-0.4.4/src/nvim/undo.c:652:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname_buf[MAXPATHL];
data/neovim-0.4.4/src/nvim/version.c:1941:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  major = atoi(p);
data/neovim-0.4.4/src/nvim/version.c:1949:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    minor = atoi(p);
data/neovim-0.4.4/src/nvim/version.c:1956:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      patch = atoi(p);
data/neovim-0.4.4/src/nvim/version.c:2094:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      msg_puts((char *)items[idx]);
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:748:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char ret[1024];
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:871:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[sizeof(int) * 3 + 1];
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:1600:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(v_p, p, (size_t)(e - p));
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:1603:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(v_p, p, (size_t)(chunk_e - p));
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:1696:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(v_p, p, (size_t)(e - p));
data/neovim-0.4.4/src/nvim/viml/parser/expressions.c:1700:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(v_p, p, (size_t)(chunk_e - p));
data/neovim-0.4.4/src/nvim/window.c:86:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cbuf[40];
data/neovim-0.4.4/src/nvim/window.c:2368:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf((char *)prev_idx, "%i", tabpage_index(prev_curtab));
data/neovim-0.4.4/src/nvim/window.c:4404:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[MAXPATHL];
data/neovim-0.4.4/src/nvim/xdiff/xemit.c:109:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, rec, len);
data/neovim-0.4.4/src/nvim/xdiff/xemit.c:131:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dummy[1];
data/neovim-0.4.4/src/nvim/xdiff/xemit.c:138:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[80];
data/neovim-0.4.4/src/nvim/xdiff/xemit.c:146:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *buf, dummy[1];
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:327:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[32];
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:351:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[128];
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:353:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, "@@ -", 4);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:359:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf + nb, ",", 1);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:365:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf + nb, " +", 2);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:371:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf + nb, ",", 1);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:377:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf + nb, " @@", 3);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:383:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf + nb, func, funclen);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:419:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(diff_env->xdf1.rchg + line1 - 1, env.xdf1.rchg, count1);
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:420:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(diff_env->xdf2.rchg + line2 - 1, env.xdf2.rchg, count2);
data/neovim-0.4.4/test/functional/fixtures/shell-test.c:103:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char input[256];
data/neovim-0.4.4/test/functional/fixtures/shell-test.c:104:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cmd[100];
data/neovim-0.4.4/test/functional/fixtures/streams-test.c:14:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char * args[3];
data/neovim-0.4.4/test/symbolic/klee/nvim/garray.c:182:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(data + gap->ga_len, s, len);
data/neovim-0.4.4/test/symbolic/klee/nvim/memory.c:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  ((char *)ret)[size] = 0;
data/neovim-0.4.4/test/symbolic/klee/nvim/memory.c:93:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (char *)memcpy(dst, src, len + 1) + len;
data/neovim-0.4.4/test/symbolic/klee/nvim/memory.c:100:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return memcpy(xmallocz(len), data, len);
data/neovim-0.4.4/test/symbolic/klee/viml_expressions_lexer.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char input[INPUT_SIZE];
data/neovim-0.4.4/test/symbolic/klee/viml_expressions_lexer.c:61:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      .data = (const char *)argv[1],
data/neovim-0.4.4/test/symbolic/klee/viml_expressions_parser.c:36:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char input[INPUT_SIZE];
data/neovim-0.4.4/src/nvim/api/private/helpers.c:297:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      rv.data.string.size = strlen(stringval);
data/neovim-0.4.4/src/nvim/api/private/helpers.c:697:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(str);
data/neovim-0.4.4/src/nvim/api/private/helpers.c:738:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return (String){ .data = str, .size = strlen(str) };
data/neovim-0.4.4/src/nvim/api/vim.c:597:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      .size = strlen((char *)di->di_tv.vval.v_string),
data/neovim-0.4.4/src/nvim/channel.c:603:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          tv_dict_add_list(reader->self, reader->type, strlen(reader->type),
data/neovim-0.4.4/src/nvim/charset.c:386:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t tb_len = strlen(tb);
data/neovim-0.4.4/src/nvim/diff.c:1088:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = (strlen(tmp_orig) + strlen(tmp_new) + strlen(tmp_diff)
data/neovim-0.4.4/src/nvim/diff.c:1088:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = (strlen(tmp_orig) + strlen(tmp_new) + strlen(tmp_diff)
data/neovim-0.4.4/src/nvim/diff.c:1088:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = (strlen(tmp_orig) + strlen(tmp_new) + strlen(tmp_diff)
data/neovim-0.4.4/src/nvim/eval.c:1902:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           ? (ptrdiff_t)strlen(used_name)
data/neovim-0.4.4/src/nvim/eval.c:2183:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      lp->ll_name_len = strlen(lp->ll_name);
data/neovim-0.4.4/src/nvim/eval.c:4597:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = (ptrdiff_t)strlen(s);
data/neovim-0.4.4/src/nvim/eval.c:6114:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t key_len = strlen(key);
data/neovim-0.4.4/src/nvim/eval.c:6153:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(name);
data/neovim-0.4.4/src/nvim/eval.c:8196:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t arg_errmsg_len = strlen(arg_errmsg);
data/neovim-0.4.4/src/nvim/eval.c:8210:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t key_pattern_len = strlen(key_pattern);
data/neovim-0.4.4/src/nvim/eval.c:8250:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                              strlen(key_pattern), callback)) {
data/neovim-0.4.4/src/nvim/eval.c:8968:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                         first ? strlen(fname) : 0,
data/neovim-0.4.4/src/nvim/eval.c:9221:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(fname);
data/neovim-0.4.4/src/nvim/eval.c:9874:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           varname, strlen(varname), false);
data/neovim-0.4.4/src/nvim/eval.c:10788:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                 varname, strlen(varname),
data/neovim-0.4.4/src/nvim/eval.c:11113:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           strlen(varname), false);
data/neovim-0.4.4/src/nvim/eval.c:11378:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          && strlen(name) >= 11
data/neovim-0.4.4/src/nvim/eval.c:11576:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  histype = str != NULL ? get_histtype(str, strlen(str), false) : HIST_INVALID;
data/neovim-0.4.4/src/nvim/eval.c:11600:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = clr_history(get_histtype(str, strlen(str), false));
data/neovim-0.4.4/src/nvim/eval.c:11603:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = del_history_idx(get_histtype(str, strlen(str), false),
data/neovim-0.4.4/src/nvim/eval.c:11608:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = del_history_entry(get_histtype(str, strlen(str), false),
data/neovim-0.4.4/src/nvim/eval.c:11626:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    type = get_histtype(str, strlen(str), false);
data/neovim-0.4.4/src/nvim/eval.c:11647:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  i = history == NULL ? HIST_CMD - 1 : get_histtype(history, strlen(history),
data/neovim-0.4.4/src/nvim/eval.c:11863:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const int xp_namelen = (int)strlen(xp_name);
data/neovim-0.4.4/src/nvim/eval.c:12353:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (new_cwd && strlen(new_cwd) > 0) {
data/neovim-0.4.4/src/nvim/eval.c:12559:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(s);
data/neovim-0.4.4/src/nvim/eval.c:12612:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      rettv->vval.v_number = (varnumber_T)strlen(
data/neovim-0.4.4/src/nvim/eval.c:14127:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t slen = strlen(p);
data/neovim-0.4.4/src/nvim/eval.c:14170:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ptrdiff_t len = (ptrdiff_t)strlen(p);
data/neovim-0.4.4/src/nvim/eval.c:14232:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          const size_t p_len = strlen(p);
data/neovim-0.4.4/src/nvim/eval.c:14233:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          const size_t buf_len = strlen(buf);
data/neovim-0.4.4/src/nvim/eval.c:14249:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t p_len = strlen(p);
data/neovim-0.4.4/src/nvim/eval.c:14294:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      q = p + strlen(p);
data/neovim-0.4.4/src/nvim/eval.c:14836:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    rettv->vval.v_number = find_decl((char_u *)name, strlen(name), locally,
data/neovim-0.4.4/src/nvim/eval.c:15466:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(mode_str) != 9) {
data/neovim-0.4.4/src/nvim/eval.c:15863:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t varname_len = strlen(varname);
data/neovim-0.4.4/src/nvim/eval.c:15985:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const size_t varname_len = strlen(varname);
data/neovim-0.4.4/src/nvim/eval.c:16003:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const char *hash = sha256_bytes((const uint8_t *)p, strlen(p) , NULL, 0);
data/neovim-0.4.4/src/nvim/eval.c:16954:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        end = str + strlen(str);
data/neovim-0.4.4/src/nvim/eval.c:17001:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      tv_list_append_string(list, dir_with_nvim, strlen(dir_with_nvim));
data/neovim-0.4.4/src/nvim/eval.c:17199:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (error || start_idx >= (ptrdiff_t)strlen(haystack)) {
data/neovim-0.4.4/src/nvim/eval.c:17227:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  rettv->vval.v_number = (varnumber_T)strlen(tv_get_string(&argvars[0]));
data/neovim-0.4.4/src/nvim/eval.c:17342:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t slen = strlen(p);
data/neovim-0.4.4/src/nvim/eval.c:18483:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(fromstr) != strlen(tostr)) {
data/neovim-0.4.4/src/nvim/eval.c:18483:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(fromstr) != strlen(tostr)) {
data/neovim-0.4.4/src/nvim/eval.c:19031:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *len = strlen(ret);
data/neovim-0.4.4/src/nvim/eval.c:19075:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *len += strlen(tv_get_string(TV_LIST_ITEM_TV(li))) + 1;
data/neovim-0.4.4/src/nvim/eval.c:20311:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  v = find_var(name, strlen(name), NULL, false);
data/neovim-0.4.4/src/nvim/eval.c:20604:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    v = xmalloc(sizeof(dictitem_T) + strlen(varname));
data/neovim-0.4.4/src/nvim/eval.c:20673:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval.c:20675:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval.c:20708:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval.c:20710:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval.c:20981:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t len = strlen(argstr);
data/neovim-0.4.4/src/nvim/eval.c:21786:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int)strlen(lv.ll_exp_name);
data/neovim-0.4.4/src/nvim/eval.c:21808:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      memmove(name + 3, name + 5, strlen((char *)name + 5) + 1);
data/neovim-0.4.4/src/nvim/eval.c:21814:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int)strlen(lv.ll_exp_name);
data/neovim-0.4.4/src/nvim/eval.c:23464:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t namelen = strlen(name);
data/neovim-0.4.4/src/nvim/eval.c:23567:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  set_var(name, strlen(name), &vartv, false);
data/neovim-0.4.4/src/nvim/eval/encode.c:65:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t li_len = (str == NULL ? 0 : strlen(str));
data/neovim-0.4.4/src/nvim/eval/encode.c:354:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        TYPVAL_ENCODE_CONV_STRING(tv, fun_, strlen(fun_)); \
data/neovim-0.4.4/src/nvim/eval/typval.c:736:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    sumlen += strlen(sep) * (size_t)(join_gap->ga_len - 1);
data/neovim-0.4.4/src/nvim/eval/typval.c:1255:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return tv_dict_item_alloc_len(key, strlen(key));
data/neovim-0.4.4/src/nvim/eval/typval.c:1751:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t arg_errmsg_len = strlen(arg_errmsg);
data/neovim-0.4.4/src/nvim/eval/typval.c:2435:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval/typval.c:2438:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval/typval.c:2440:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_len = strlen(name);
data/neovim-0.4.4/src/nvim/eval/typval_encode.c.h:691:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                      strlen((char *)&di->di_key[0]));
data/neovim-0.4.4/src/nvim/eval/typval_encode.h:90:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          : strlen((char *) tv->vval.v_string));
data/neovim-0.4.4/src/nvim/event/socket.c:113:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = strlen(watcher->addr);
data/neovim-0.4.4/src/nvim/ex_cmds.c:1504:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *const end = buf + strlen(buf);
data/neovim-0.4.4/src/nvim/ex_cmds.c:4695:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p1 = *(char **)s1 + strlen(*(char **)s1) + 1;
data/neovim-0.4.4/src/nvim/ex_cmds.c:4696:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p2 = *(char **)s2 + strlen(*(char **)s2) + 1;
data/neovim-0.4.4/src/nvim/ex_cmds.c:5616:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          line_size = strlen(line) + col_width + 1;
data/neovim-0.4.4/src/nvim/ex_cmds2.c:2587:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t fname_len = strlen(ffname);
data/neovim-0.4.4/src/nvim/ex_cmds2.c:2635:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    afterlen = strlen(afterdir) + 1;  // add one for comma
data/neovim-0.4.4/src/nvim/ex_cmds2.c:2706:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(ffname) + STRLEN(ftpat);
data/neovim-0.4.4/src/nvim/ex_docmd.c:2939:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(buff);
data/neovim-0.4.4/src/nvim/ex_docmd.c:9763:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *retval = xmalloc(strlen(sname) + len + STRLEN(p_vdir) + 9);
data/neovim-0.4.4/src/nvim/ex_docmd.c:9766:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *s = retval + strlen(retval);
data/neovim-0.4.4/src/nvim/ex_getln.c:2984:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *buf = xmallocz(indent + strlen(line));
data/neovim-0.4.4/src/nvim/ex_getln.c:2986:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  memcpy(buf + indent, line, strlen(line));  // -V575
data/neovim-0.4.4/src/nvim/fileio.c:4312:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t extlen = strlen(ext);
data/neovim-0.4.4/src/nvim/fileio.c:4319:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        || (fnamelen = strlen(retval)) == 0) {
data/neovim-0.4.4/src/nvim/fileio.c:4324:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fnamelen = strlen(retval);
data/neovim-0.4.4/src/nvim/fileio.c:4327:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fnamelen = strlen(fname);
data/neovim-0.4.4/src/nvim/fileio.c:4343:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(ptr) > BASENAMELEN) {
data/neovim-0.4.4/src/nvim/fileio.c:4348:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  s = ptr + strlen(ptr);
data/neovim-0.4.4/src/nvim/fileio.c:4420:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  const int n = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4424:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  const int c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4435:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int n = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4439:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4444:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4459:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4464:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4469:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4474:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4489:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const int c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:4504:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int c = getc(fd);
data/neovim-0.4.4/src/nvim/fileio.c:5218:23:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  mode_t umask_save = umask(0077);
data/neovim-0.4.4/src/nvim/fileio.c:5242:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  (void)umask(umask_save);
data/neovim-0.4.4/src/nvim/fileio.c:7076:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const size_t sourcing_name_len = (STRLEN(s) + strlen(name) + ap->patlen
data/neovim-0.4.4/src/nvim/fileio.c:7687:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = read(fd, buf, bufsize);
data/neovim-0.4.4/src/nvim/garray.c:158:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen(strings[i]);
data/neovim-0.4.4/src/nvim/garray.c:162:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len += (nelem - 1) * strlen(sep);
data/neovim-0.4.4/src/nvim/garray.c:201:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ga_concat_len(gap, (const char *restrict) s, strlen((char *) s));
data/neovim-0.4.4/src/nvim/getchar.c:258:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    slen = (ptrdiff_t)strlen(s);
data/neovim-0.4.4/src/nvim/getchar.c:3343:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(mapchars);
data/neovim-0.4.4/src/nvim/getchar.c:3406:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char_u *const rhs = replace_termcodes((const char_u *)str, strlen(str), &buf,
data/neovim-0.4.4/src/nvim/hardcopy.c:1433:3:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
  sprintf((char *)prt_line_buffer, " ");
data/neovim-0.4.4/src/nvim/hardcopy.c:2189:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           mbfont_opts[OPT_MBFONT_REGULAR].strlen);
data/neovim-0.4.4/src/nvim/hardcopy.c:2193:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                             mbfont_opts[OPT_MBFONT_BOLD].strlen);
data/neovim-0.4.4/src/nvim/hardcopy.c:2199:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                             mbfont_opts[OPT_MBFONT_OBLIQUE].strlen);
data/neovim-0.4.4/src/nvim/hardcopy.c:2204:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                             mbfont_opts[OPT_MBFONT_BOLDOBLIQUE].strlen);
data/neovim-0.4.4/src/nvim/hardcopy.c:2236:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    paper_strlen = printer_opts[OPT_PRINT_PAPER].strlen;
data/neovim-0.4.4/src/nvim/hardcopy.h:50:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int strlen;
data/neovim-0.4.4/src/nvim/if_cscope.c:398:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *buf = xmalloc(strlen(stat_emsg) + MAXPATHL + 10);
data/neovim-0.4.4/src/nvim/if_cscope.c:456:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fname2 = (char *)xmalloc(strlen(CSCOPE_DBFILE) + strlen(fname) + 2);
data/neovim-0.4.4/src/nvim/if_cscope.c:456:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fname2 = (char *)xmalloc(strlen(CSCOPE_DBFILE) + strlen(fname) + 2);
data/neovim-0.4.4/src/nvim/if_cscope.c:458:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    while (fname[strlen(fname)-1] == '/'
data/neovim-0.4.4/src/nvim/if_cscope.c:460:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fname[strlen(fname)-1] = '\0';
data/neovim-0.4.4/src/nvim/if_cscope.c:656:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  cmd = xmalloc(strlen(pat) + 2);
data/neovim-0.4.4/src/nvim/if_cscope.c:743:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(prog) + strlen(csinfo[i].fname) + 32;
data/neovim-0.4.4/src/nvim/if_cscope.c:743:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(prog) + strlen(csinfo[i].fname) + 32;
data/neovim-0.4.4/src/nvim/if_cscope.c:749:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len += strlen(ppath);
data/neovim-0.4.4/src/nvim/if_cscope.c:753:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len += strlen(csinfo[i].flags);
data/neovim-0.4.4/src/nvim/if_cscope.c:769:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      (void)strcat(cmd, " ");
data/neovim-0.4.4/src/nvim/if_cscope.c:871:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pat = opt + strlen(opt) + 1;
data/neovim-0.4.4/src/nvim/if_cscope.c:940:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *buf = xmalloc(strlen(nf));
data/neovim-0.4.4/src/nvim/if_cscope.c:996:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf = xmalloc(strlen(opt) + strlen(pat) + strlen(nf));
data/neovim-0.4.4/src/nvim/if_cscope.c:996:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf = xmalloc(strlen(opt) + strlen(pat) + strlen(nf));
data/neovim-0.4.4/src/nvim/if_cscope.c:996:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf = xmalloc(strlen(opt) + strlen(pat) + strlen(nf));
data/neovim-0.4.4/src/nvim/if_cscope.c:1149:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  csinfo[i].fname = xmalloc(strlen(fname) + 1);
data/neovim-0.4.4/src/nvim/if_cscope.c:1154:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csinfo[i].ppath = xmalloc(strlen(ppath) + 1);
data/neovim-0.4.4/src/nvim/if_cscope.c:1160:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    csinfo[i].flags = xmalloc(strlen(flags) + 1);
data/neovim-0.4.4/src/nvim/if_cscope.c:1187:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(stok);
data/neovim-0.4.4/src/nvim/if_cscope.c:1211:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((strlen(stok) < 2 && ascii_isdigit((int)(stok[0])))
data/neovim-0.4.4/src/nvim/if_cscope.c:1212:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      || (strlen(stok) < 3 && stok[0] == '-'
data/neovim-0.4.4/src/nvim/if_cscope.c:1302:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + strlen(search) + 6;
data/neovim-0.4.4/src/nvim/if_cscope.c:1302:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + strlen(search) + 6;
data/neovim-0.4.4/src/nvim/if_cscope.c:1302:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + strlen(search) + 6;
data/neovim-0.4.4/src/nvim/if_cscope.c:1302:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + strlen(search) + 6;
data/neovim-0.4.4/src/nvim/if_cscope.c:1307:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + 5;
data/neovim-0.4.4/src/nvim/if_cscope.c:1307:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + 5;
data/neovim-0.4.4/src/nvim/if_cscope.c:1307:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    amt = strlen(fname) + strlen(slno) + strlen(tagstr) + 5;
data/neovim-0.4.4/src/nvim/if_cscope.c:1413:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = getc(csinfo[cnumber].fr_fp)) != EOF && ch != '\n')
data/neovim-0.4.4/src/nvim/if_cscope.c:1430:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *search = *linenumber + strlen(*linenumber) + 1;      /* +1 to skip \0 */
data/neovim-0.4.4/src/nvim/if_cscope.c:1463:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      context = xmalloc(strlen(cntx) + 5);
data/neovim-0.4.4/src/nvim/if_cscope.c:1552:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *s = path + strlen(path) - 1;
data/neovim-0.4.4/src/nvim/if_cscope.c:1592:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t newsize = strlen(cstag_msg) + (size_t)(ptag_end - ptag);
data/neovim-0.4.4/src/nvim/if_cscope.c:1626:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    newsize = strlen(csfmt_str) + 16 + (size_t)(lno_end - lno);
data/neovim-0.4.4/src/nvim/if_cscope.c:1641:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    newsize = strlen(context) + strlen(cntxformat) - 1;
data/neovim-0.4.4/src/nvim/if_cscope.c:1641:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    newsize = strlen(context) + strlen(cntxformat) - 1;
data/neovim-0.4.4/src/nvim/if_cscope.c:1687:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t cs_emsg_len = strlen(cs_emsg);
data/neovim-0.4.4/src/nvim/if_cscope.c:1689:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t epromptlen = strlen(eprompt);
data/neovim-0.4.4/src/nvim/if_cscope.c:1699:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(csinfo[i].fr_fp);
data/neovim-0.4.4/src/nvim/if_cscope.c:1732:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (size_t n = 0; n < strlen(CSCOPE_PROMPT); n++) {
data/neovim-0.4.4/src/nvim/if_cscope.c:1736:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ch = fgetc(csinfo[i].fr_fp);
data/neovim-0.4.4/src/nvim/if_cscope.c:1956:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(name) + 2;
data/neovim-0.4.4/src/nvim/if_cscope.c:1958:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen(csinfo[i].ppath);
data/neovim-0.4.4/src/nvim/if_cscope.c:1973:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      && (strncmp(name, csinfo[i].ppath, strlen(csinfo[i].ppath)) != 0)
data/neovim-0.4.4/src/nvim/indent_c.c:431:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      l = (int)strlen(skip[i]);
data/neovim-0.4.4/src/nvim/lua/executor.c:273:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (luaL_loadbuffer(lstate, code, strlen(code), "@vim.lua")
data/neovim-0.4.4/src/nvim/lua/executor.c:734:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t cmd_len = strlen(cmd);
data/neovim-0.4.4/src/nvim/memline.c:3378:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t dir_len = strlen(*dirp) + 1;
data/neovim-0.4.4/src/nvim/memline.c:3392:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((n = strlen(fname)) == 0) {        // safety check
data/neovim-0.4.4/src/nvim/memline.c:3498:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            const size_t fname_len = strlen(fname);
data/neovim-0.4.4/src/nvim/memline.c:3499:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            const size_t sw_msg_1_len = strlen(sw_msg_1);
data/neovim-0.4.4/src/nvim/memline.c:3500:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            const size_t sw_msg_2_len = strlen(sw_msg_2);
data/neovim-0.4.4/src/nvim/memory.c:214:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return p ? p : (char *)(str + strlen(str));
data/neovim-0.4.4/src/nvim/memory.c:317:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(src);
data/neovim-0.4.4/src/nvim/memory.c:367:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t slen = strlen(src);
data/neovim-0.4.4/src/nvim/memory.c:396:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t dlen = strlen(dst);
data/neovim-0.4.4/src/nvim/memory.c:398:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t slen = strlen(src);
data/neovim-0.4.4/src/nvim/memory.c:419:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return xmemdupz(str, strlen(str));
data/neovim-0.4.4/src/nvim/message.c:536:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t buf_len = STRLEN(sourcing_name) + strlen(p) + 1;
data/neovim-0.4.4/src/nvim/message.c:557:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t buf_len = 20 + strlen(p);
data/neovim-0.4.4/src/nvim/message.c:657:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          const size_t p_len = strlen(p);
data/neovim-0.4.4/src/nvim/message.c:664:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          const size_t p_len = strlen(p);
data/neovim-0.4.4/src/nvim/message.c:669:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        redir_write(s, strlen(s));
data/neovim-0.4.4/src/nvim/message.c:1660:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t s_len = strlen(s);
data/neovim-0.4.4/src/nvim/message.c:2303:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen(p) + 40;
data/neovim-0.4.4/src/nvim/msgpack_rpc/channel.c:763:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              .size = (uint32_t)strlen(
data/neovim-0.4.4/src/nvim/normal.c:2478:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          (int)strlen(tab_page_click_defs[mouse_col].func),
data/neovim-0.4.4/src/nvim/ops.c:5732:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (reg->y_size > 0 && strlen((char *)reg->y_array[reg->y_size-1]) == 0) {
data/neovim-0.4.4/src/nvim/ops.c:5797:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (regtype == NULL || strlen((char *)regtype) > 1) {
data/neovim-0.4.4/src/nvim/ops.c:5838:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (reg->y_size > 0 && strlen((char*)reg->y_array[reg->y_size-1]) == 0) {
data/neovim-0.4.4/src/nvim/option.c:514:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    data_len = strlen(data_home);
data/neovim-0.4.4/src/nvim/option.c:528:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    config_len = strlen(config_home);
data/neovim-0.4.4/src/nvim/option.c:537:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    vimruntime_len = strlen(vimruntime);
data/neovim-0.4.4/src/nvim/option.c:642:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = (int)strlen(p) + 3;
data/neovim-0.4.4/src/nvim/option.c:720:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t backupdir_len = strlen(backupdir);
data/neovim-0.4.4/src/nvim/option.c:1085:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t lang_len = strlen(lang);
data/neovim-0.4.4/src/nvim/option.c:4776:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return findoption_len(arg, strlen(arg));
data/neovim-0.4.4/src/nvim/option.c:7376:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          tv_dict_add_str(d, opt->fullname, strlen(opt->fullname),
data/neovim-0.4.4/src/nvim/option.c:7379:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          tv_dict_add_nr(d, opt->fullname, strlen(opt->fullname),
data/neovim-0.4.4/src/nvim/option.c:7382:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          tv_dict_add_nr(d, opt->fullname, strlen(opt->fullname), *(int *)varp);
data/neovim-0.4.4/src/nvim/os/env.c:312:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        && strlen(homedrive) + strlen(homepath) < MAXPATHL) {
data/neovim-0.4.4/src/nvim/os/env.c:312:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        && strlen(homedrive) + strlen(homepath) < MAXPATHL) {
data/neovim-0.4.4/src/nvim/os/env.c:692:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    *len = strlen(varval);
data/neovim-0.4.4/src/nvim/os/env.c:722:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    varend = val + strlen(val) - 1;
data/neovim-0.4.4/src/nvim/os/env.c:906:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    dirlen = strlen(homedir);
data/neovim-0.4.4/src/nvim/os/env.c:921:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t flen = strlen(homedir_env_mod);
data/neovim-0.4.4/src/nvim/os/env.c:925:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    flen = strlen(homedir_env_mod);
data/neovim-0.4.4/src/nvim/os/env.c:934:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    envlen = strlen(homedir_env_mod);
data/neovim-0.4.4/src/nvim/os/env.c:1049:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t pathlen = path ? strlen(path) : 0;
data/neovim-0.4.4/src/nvim/os/fs.c:301:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t nameext_len = nameext ? strlen(nameext) : 0;
data/neovim-0.4.4/src/nvim/os/fs.c:358:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t pathlen = strlen(path_env);
data/neovim-0.4.4/src/nvim/os/fs.c:365:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t buf_len = strlen(name) + strlen(path) + 2;
data/neovim-0.4.4/src/nvim/os/fs.c:365:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t buf_len = strlen(name) + strlen(path) + 2;
data/neovim-0.4.4/src/nvim/os/fs.c:434:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert(flags != NULL && strlen(flags) > 0 && strlen(flags) <= 2);
data/neovim-0.4.4/src/nvim/os/fs.c:434:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert(flags != NULL && strlen(flags) > 0 && strlen(flags) <= 2);
data/neovim-0.4.4/src/nvim/os/fs.c:571:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const ptrdiff_t cur_read_bytes = read(fd, ret_buf + read_bytes,
data/neovim-0.4.4/src/nvim/os/fs.c:895:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t dirlen = strlen(dir);
data/neovim-0.4.4/src/nvim/os/fs.c:915:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t component_len = strlen(e);
data/neovim-0.4.4/src/nvim/os/fs.c:1183:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(fname);
data/neovim-0.4.4/src/nvim/os/pty_process_win.c:279:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t buf_len = is_cmdexe ? (strlen(*argv) + 1) : (strlen(*argv) * 2 + 3);
data/neovim-0.4.4/src/nvim/os/pty_process_win.c:279:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t buf_len = is_cmdexe ? (strlen(*argv) + 1) : (strlen(*argv) * 2 + 3);
data/neovim-0.4.4/src/nvim/os/pty_process_win.c:287:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    utf8_cmd_line_len += strlen(arg_node->arg);
data/neovim-0.4.4/src/nvim/os/pty_process_win.c:326:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t src_len = strlen(src);
data/neovim-0.4.4/src/nvim/os/shell.c:610:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    l = strlen((char *)lp + written);
data/neovim-0.4.4/src/nvim/os/shell.c:718:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t ncmd_size = strlen(ecmd) + STRLEN(p_sxq) * 2 + 1;
data/neovim-0.4.4/src/nvim/os/stdpaths.c:135:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(ret);
data/neovim-0.4.4/src/nvim/path.c:301:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len1 = strlen(fname1);
data/neovim-0.4.4/src/nvim/path.c:302:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len2 = strlen(fname2);
data/neovim-0.4.4/src/nvim/path.c:386:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len1 = strlen(fname1);
data/neovim-0.4.4/src/nvim/path.c:387:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len2 = strlen(fname2);
data/neovim-0.4.4/src/nvim/path.c:407:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len1 = strlen(fname1);
data/neovim-0.4.4/src/nvim/path.c:408:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len2 = strlen(fname2);
data/neovim-0.4.4/src/nvim/path.c:420:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(p);
data/neovim-0.4.4/src/nvim/path.c:1719:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(fname) > (len - 1)) {
data/neovim-0.4.4/src/nvim/path.c:1970:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen((char *)dir_name);
data/neovim-0.4.4/src/nvim/path.c:2184:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t current_length = strlen(path);
data/neovim-0.4.4/src/nvim/path.c:2185:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t to_append_length = strlen(to_append);
data/neovim-0.4.4/src/nvim/quickfix.c:1342:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t textlen = strlen((char *)qfprev->qf_text);
data/neovim-0.4.4/src/nvim/quickfix.c:1343:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t errlen  = strlen((char *)fields->errmsg);
data/neovim-0.4.4/src/nvim/sha256.c:327:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           strlen(sha_self_test_msg[i]),
data/neovim-0.4.4/src/nvim/shada.c:402:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ShaDaFileReader read;   ///< Reader function.
data/neovim-0.4.4/src/nvim/shada.c:677:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ptrdiff_t read_bytes = sd_reader->read(sd_reader, &ret, 1);
data/neovim-0.4.4/src/nvim/shada.c:1613:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          const size_t key_len = strlen((const char *)hi->hi_key); \
data/neovim-0.4.4/src/nvim/shada.c:2080:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          strlen(entry.data.filemark.fname), \
data/neovim-0.4.4/src/nvim/shada.c:3057:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *const wp = tempname + strlen(tempname) - 1;
data/neovim-0.4.4/src/nvim/shada.c:3313:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  const ptrdiff_t read_bytes = sd_reader->read(sd_reader, buffer, length);
data/neovim-0.4.4/src/nvim/spellfile.c:637:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);                                         // <versionnr>
data/neovim-0.4.4/src/nvim/spellfile.c:650:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    n = getc(fd);                           // <sectionID> or <sectionend>
data/neovim-0.4.4/src/nvim/spellfile.c:653:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(fd);                                       // <sectionflags>
data/neovim-0.4.4/src/nvim/spellfile.c:748:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (getc(fd) < 0)
data/neovim-0.4.4/src/nvim/spellfile.c:895:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        buf[i] = getc(fd);                              // <fileID>
data/neovim-0.4.4/src/nvim/spellfile.c:901:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(fd);                                     // <versionnr>
data/neovim-0.4.4/src/nvim/spellfile.c:950:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c = getc(fd);                                     // <sugline>
data/neovim-0.4.4/src/nvim/spellfile.c:992:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    cnt = (cnt << 8) + getc(fd);
data/neovim-0.4.4/src/nvim/spellfile.c:1068:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const int n = getc(fd);  // <condlen>
data/neovim-0.4.4/src/nvim/spellfile.c:1142:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  const int flags = getc(fd);                   // <salflags>
data/neovim-0.4.4/src/nvim/spellfile.c:1164:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ccnt = getc(fd);                            // <salfromlen>
data/neovim-0.4.4/src/nvim/spellfile.c:1173:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(fd);                             // <salfrom>
data/neovim-0.4.4/src/nvim/spellfile.c:1185:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(fd);                           // <salfrom>
data/neovim-0.4.4/src/nvim/spellfile.c:1192:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(fd);
data/neovim-0.4.4/src/nvim/spellfile.c:1270:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(fd);
data/neovim-0.4.4/src/nvim/spellfile.c:1342:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);                                         // <compmax>
data/neovim-0.4.4/src/nvim/spellfile.c:1348:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);                                         // <compminlen>
data/neovim-0.4.4/src/nvim/spellfile.c:1354:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);                                         // <compsylmax>
data/neovim-0.4.4/src/nvim/spellfile.c:1359:7:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = getc(fd);                                         // <compoptions>
data/neovim-0.4.4/src/nvim/spellfile.c:1364:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(fd);           // only use the lower byte for now
data/neovim-0.4.4/src/nvim/spellfile.c:1417:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(fd);                                       // <compflags>
data/neovim-0.4.4/src/nvim/spellfile.c:1697:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  len = getc(fd);                                       // <siblingcount>
data/neovim-0.4.4/src/nvim/spellfile.c:1707:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(fd);                                       // <byte>
data/neovim-0.4.4/src/nvim/spellfile.c:1722:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = getc(fd) << 24;                         // <pflags>
data/neovim-0.4.4/src/nvim/spellfile.c:1726:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c |= getc(fd);                                // <affixID>
data/neovim-0.4.4/src/nvim/spellfile.c:1737:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c = getc(fd);                                 // <flags>
data/neovim-0.4.4/src/nvim/spellfile.c:1739:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = (getc(fd) << 8) + c;                    // <flags2>
data/neovim-0.4.4/src/nvim/spellfile.c:1741:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = (getc(fd) << 16) + c;                   // <region>
data/neovim-0.4.4/src/nvim/spellfile.c:1743:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = (getc(fd) << 24) + c;                   // <affixID>
data/neovim-0.4.4/src/nvim/spellfile.c:1754:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(fd);                                   // <xbyte>
data/neovim-0.4.4/src/nvim/strings.c:69:20:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return (char_u *)strncpy(xmallocz(len), (char *)string, len);
data/neovim-0.4.4/src/nvim/strings.c:690:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(str);
data/neovim-0.4.4/src/nvim/strings.c:937:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                str_arg_l = strlen(str_arg);
data/neovim-0.4.4/src/nvim/strings.c:952:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  min_field_width += (strlen(str_arg)
data/neovim-0.4.4/src/nvim/strings.c:1218:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              str_arg_l = strlen(tmp);
data/neovim-0.4.4/src/nvim/strings.h:24:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t src_len = strlen(src);
data/neovim-0.4.4/src/nvim/terminal.c:282:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    terminal_receive(term, msg, strlen(msg));
data/neovim-0.4.4/src/nvim/tui/terminfo.c:29:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t tlen = strlen(term);
data/neovim-0.4.4/src/nvim/tui/terminfo.c:30:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t flen = strlen(family);
data/neovim-0.4.4/src/nvim/tui/tui.c:52:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define STARTS_WITH(str, prefix) (strlen(str) >= (sizeof(prefix) - 1) \
data/neovim-0.4.4/src/nvim/tui/tui.c:660:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  out(ui, ptr->data, strlen(ptr->data));
data/neovim-0.4.4/src/nvim/tui/tui.c:681:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(cell->data) > 1) {
data/neovim-0.4.4/src/nvim/tui/tui.c:1558:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        && strlen(fix_normal) >= (sizeof LINUXSET0C - 1)
data/neovim-0.4.4/src/nvim/tui/tui.c:1564:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fix_normal[strlen(fix_normal) - (sizeof LINUXSET0C - 1)] = 0;
data/neovim-0.4.4/src/nvim/tui/tui.c:1570:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        && strlen(fix_invisible) >= (sizeof LINUXSET1C - 1)
data/neovim-0.4.4/src/nvim/tui/tui.c:1576:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fix_invisible[strlen(fix_invisible) - (sizeof LINUXSET1C - 1)] = 0;
data/neovim-0.4.4/src/nvim/undo.c:676:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t ffname_len = strlen(ffname);
data/neovim-0.4.4/src/nvim/undo.c:680:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t tail_len = strlen(tail);
data/neovim-0.4.4/src/nvim/undo.c:1612:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return getc(bi->bi_fp);
data/neovim-0.4.4/src/nvim/vim.h:214:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define STRLEN(s)           strlen((char *)(s))
data/neovim-0.4.4/src/nvim/vim.h:216:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define STRNCPY(d, s, n)    strncpy((char *)(d), (char *)(s), (size_t)(n))
data/neovim-0.4.4/src/nvim/vim.h:246:29:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#define STRNCAT(d, s, n)    strncat((char *)(d), (char *)(s), (size_t)(n))
data/neovim-0.4.4/src/nvim/xdiff/xemit.c:34:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	long size, psize = (long)strlen(pre);
data/neovim-0.4.4/src/nvim/xdiff/xpatience.c:83:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (!strncmp(line, xpp->anchors[i], strlen(xpp->anchors[i])))
data/neovim-0.4.4/src/nvim/xdiff/xutils.c:54:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		mb[2].size = (long)strlen(mb[2].ptr);
data/neovim-0.4.4/test/functional/fixtures/shell-test.c:9:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#define usleep(usecs) Sleep(usecs/1000)
data/neovim-0.4.4/test/functional/fixtures/shell-test.c:17:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(10*1000);  // Wait 10 ms.
data/neovim-0.4.4/test/functional/fixtures/shell-test.c:82:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
          usleep(1000);  // Wait 1 ms (simulate typical output).
data/neovim-0.4.4/test/functional/fixtures/shell-test.c:115:22:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
        input_argc = sscanf(input, "%99s %d", cmd, &arg);
data/neovim-0.4.4/test/symbolic/klee/nvim/garray.c:124:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen(strings[i]);
data/neovim-0.4.4/test/symbolic/klee/nvim/garray.c:128:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len += (nelem - 1) * strlen(sep);
data/neovim-0.4.4/test/symbolic/klee/nvim/garray.c:167:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ga_concat_len(gap, (const char *restrict) s, strlen((char *) s));
data/neovim-0.4.4/test/symbolic/klee/nvim/memory.c:74:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return xmemdupz(str, strlen(str));
data/neovim-0.4.4/test/symbolic/klee/nvim/memory.c:92:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(src);
data/neovim-0.4.4/test/symbolic/klee/viml_expressions_lexer.c:62:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      .size = strlen(argv[1]),
data/neovim-0.4.4/test/symbolic/klee/viml_expressions_parser.c:62:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      .size = strlen(argv[1]),

ANALYSIS SUMMARY:

Hits = 969
Lines analyzed = 289786 in approximately 6.40 seconds (45307 lines/second)
Physical Source Lines of Code (SLOC) = 207180
Hits@level = [0] 358 [1] 315 [2] 537 [3]   3 [4] 112 [5]   2
Hits@level+ = [0+] 1327 [1+] 969 [2+] 654 [3+] 117 [4+] 114 [5+]   2
Hits/KSLOC@level+ = [0+] 6.40506 [1+] 4.67709 [2+] 3.15668 [3+] 0.564726 [4+] 0.550246 [5+] 0.00965344
Dot directories skipped = 3 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.