Hi Christian,

On Wed, Dec 18, 2024 at 11:48 PM Christian Brabandt <
vim-dev-git...@256bit.org> wrote:

> @yegappan <https://github.com/yegappan> coverity complains about this
> part here:
>

I have created the PR https://github.com/vim/vim/pull/16256 to address this.

Regards,
Yegappan


> Please find the latest report on new defect(s) introduced to vim found with 
> Coverity Scan.
>
> 1 new defect(s) introduced to vim found with Coverity Scan.
>
>
> New defect(s) Reported-by: Coverity Scan
> Showing 1 of 1 defect(s)
>
>
> ** CID 1636846:  Memory - illegal accesses  (UNINIT)
>
>
> ________________________________________________________________________________________________________
> *** CID 1636846:  Memory - illegal accesses  (UNINIT)
> /src/vim9compile.c: 2287 in compile_lhs()
> 2281         int        oplen,
> 2282         cctx_T        *cctx)
> 2283     {
> 2284         char_u    *var_end;
> 2285         int        is_decl = is_decl_command(cmdidx);
> 2286
>     CID 1636846:  Memory - illegal accesses  (UNINIT)
>     Using uninitialized value "var_end" when calling "lhs_init".
> 2287         if (lhs_init(lhs, var_start, is_decl, heredoc, &var_end) == FAIL)
> 2288         return FAIL;
> 2289
> 2290         if (cctx->ctx_skip != SKIP_YES)
> 2291         {
> 2292         // compile the LHS destination
>
>
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7nBC3n_Q87Va2TCx8%2Borm8u02PPiFkO0r_CqtzCo%2B90ZQ%40mail.gmail.com.

Raspunde prin e-mail lui