diff options
| author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-02-20 17:32:42 +0100 | 
|---|---|---|
| committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-03-22 11:31:47 +0100 | 
| commit | 3db0a40d691c103a26ef3df74528f12d89b0fa61 (patch) | |
| tree | cd5c52d3a93783163ea70ba718f6c8d72a3fb961 /src/nvim/api/vim.h | |
| parent | fb44a233a5be72d8d1cfd02e300db7de2b4bf428 (diff) | |
| download | rneovim-3db0a40d691c103a26ef3df74528f12d89b0fa61.tar.gz rneovim-3db0a40d691c103a26ef3df74528f12d89b0fa61.tar.bz2 rneovim-3db0a40d691c103a26ef3df74528f12d89b0fa61.zip | |
coverity/105568: Free of array-typed value: FP.
Problem    : Free of array-typed value @ 3628.
Diagnostic : False positive.
Rationale  : expand_shell_cmd() is called with a mock value for file
             (*file = (char_u **)""). That means we want file to be
             filled with a new value. We can't use *file = NULL because
             that means we don't want file to be filled.
             Now, coverity incorrectly thinks that sentinel value is the
             one we are freeing up at some other later point, which is
             not the case.
Resolution : Assert that, when we are freeing *file, its value is
             different than the sentinel one.
Diffstat (limited to 'src/nvim/api/vim.h')
0 files changed, 0 insertions, 0 deletions
