aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-11-17 10:05:08 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-11-18 22:00:01 +0100
commiteb15d8777be0fe9a044b153a5f0991e1eb90faa9 (patch)
tree9aea454e64da8a30145930828f47a1025187e199 /src/nvim/api/vim.c
parentece19651c60c34e2fa5bed623dff82b9af4d8e11 (diff)
downloadrneovim-eb15d8777be0fe9a044b153a5f0991e1eb90faa9.tar.gz
rneovim-eb15d8777be0fe9a044b153a5f0991e1eb90faa9.tar.bz2
rneovim-eb15d8777be0fe9a044b153a5f0991e1eb90faa9.zip
Fix warnings: eval.c: clear_tv(): Bad free: RI.
Problem : Bad free @ 16076. Diagnostic : Real issue. Rationale : A non-allocated string is set at 4127, which later on can be tried to be freed if aborting. Resolution : Detect particular case (func with empty name) and don't free in that case. Another solution (use allocated string) was tried before, but it produced a leak difficult to solve. Finally applied solution works, but it produces a new false positive warning (Np dereference at 13763), deactivated by `assert(ptrs[i].item->li_next)`.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions