patch 9.1.1031: Coverity complains about insecure data handling
Problem: Coverity complains about insecure data handling
(v9.1.1024)
Solution: use int consistently to access the blob index
(Yegappan Lakshmanan)
related: #16468
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
54cb514c9a
commit
5e9aaedf52
@ -4308,7 +4308,7 @@ buf_check_timestamp(
|
||||
*/
|
||||
busy = TRUE;
|
||||
#ifdef FEAT_EVAL
|
||||
set_vim_var_string(VV_FCS_REASON, (char_u *)reason, reasonlen);
|
||||
set_vim_var_string(VV_FCS_REASON, (char_u *)reason, (int)reasonlen);
|
||||
set_vim_var_string(VV_FCS_CHOICE, (char_u *)"", 0);
|
||||
#endif
|
||||
++allbuf_lock;
|
||||
|
||||
Reference in New Issue
Block a user