Coverity warns for this problem, which is detected in a Ruby include
file.  Probably happens now because of the changes in the CI
configuration.

This cannot be fixed in Vim, I wonder if it should be reported to the
Ruby maintainers?  If someone knows where to report, please do so.

> 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 1472361:  Uninitialized variables  (UNINIT)
> /usr/include/ruby-3.0.0/ruby/internal/core/rstring.h: 135 in 
> rbimpl_rstring_getmem()
> 
> 
> ________________________________________________________________________________________________________
> *** CID 1472361:  Uninitialized variables  (UNINIT)
> /usr/include/ruby-3.0.0/ruby/internal/core/rstring.h: 135 in 
> rbimpl_rstring_getmem()
> 129         }
> 130         else {
> 131             /* Expecting compilers to optimize this on-stack struct away. 
> */
> 132             struct RString retval;
> 133             retval.as.heap.len = RSTRING_EMBED_LEN(str);
> 134             retval.as.heap.ptr = RSTRING(str)->as.ary;
> >>>     CID 1472361:  Uninitialized variables  (UNINIT)
> >>>     Using uninitialized value "retval". Field "retval.basic" is 
> >>> uninitialized.
> 135             return retval;
> 136         }
> 137     }
> 138     
> 139     RBIMPL_WARNING_POP()
> 140     
> 
> 
> ________________________________________________________________________________________________________
> To view the defects in Coverity Scan visit, 
> https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yoLUkAngoH61y6ZQKtkTCh6oGAos04AK7AVreJM0K-2FUTg-3D-3DygRz_J0XosSA2E68u8Z-2Bl5GGms2zYHik8sLNCJO662LwsKJuD2W6LejttRisjz0zRPu-2FUFheNmYlB8XDA6fu35BIllcgn-2F38kofBc1ox2bEKrBwFT3soLQ9mygq58WxGWEb4t5icHR7vYkp6Bb7f1CGs2-2BziSHyZz7u6FTqIHMLkgbZ29qkklAQBA6Os-2BkFaYFZyKQFrz3XSMoorGIcLhg4TpHg-3D-3D

-- 
LETTERS TO THE EDITOR (The Times of London)

Dear Sir,

I am firmly opposed to the spread of microchips either to the home or
to the office.  We have more than enough of them foisted upon us in
public places.  They are a disgusting Americanism, and can only result
in the farmers being forced to grow smaller potatoes, which in turn
will cause massive unemployment in the already severely depressed
agricultural industry.

Yours faithfully,
        Capt. Quinton D'Arcy, J. P.
        Sevenoaks

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230422114140.D40461C074F%40moolenaar.net.

Reply via email to