aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/java.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-08-01 12:15:02 -0400
committerGitHub <noreply@github.com>2026-08-01 12:15:02 -0400
commitd060d91ef8aa2febbc8f1186b12eadab58ae4ec0 (patch)
tree5749da01a028a38473c0f2e3423bdbb56694cb5e /runtime/ftplugin/java.vim
parente02755cd9ff29277d14421c9df627e5dc48e4f67 (diff)
downloadrneovim-d060d91ef8aa2febbc8f1186b12eadab58ae4ec0.tar.gz
rneovim-d060d91ef8aa2febbc8f1186b12eadab58ae4ec0.tar.bz2
rneovim-d060d91ef8aa2febbc8f1186b12eadab58ae4ec0.zip
fix(bufwrite): coverity "uninitialized member" #41104
CID 652079: (UNINIT) /src/nvim/bufwrite.c: 1413 in buf_write() 1407 // only makes sense at the start of the file. 1408 if (buf->b_p_bomb && !write_bin && (!append || perm < 0)) { 1409 write_info.bw_len = make_bom(buffer, fenc); 1410 if (write_info.bw_len > 0) { 1411 // don't convert 1412 write_info.bw_flags = FIO_NOCONVERT | wb_flags; >>> CID 652079: (UNINIT) >>> Using uninitialized value "write_info.bw_first" when calling "buf_write_bytes". 1413 if (buf_write_bytes(&write_info) == FAIL) { 1414 end = 0; 1415 } else { 1416 nchars += write_info.bw_len; 1417 } 1418 } /src/nvim/bufwrite.c: 1453 in buf_write() 1447 *s = c; 1448 } 1449 s++; 1450 if (++write_info.bw_len != bufsize) { 1451 continue; 1452 } >>> CID 652079: (UNINIT) >>> Using uninitialized value "write_info.bw_first" when calling "buf_write_bytes". 1453 if (buf_write_bytes(&write_info) == FAIL) { 1454 end = 0; // write error: break loop 1455 break; 1456 } 1457 nchars += bufsize - write_info.bw_len; 1458 s = buffer + write_info.bw_len;
Diffstat (limited to 'runtime/ftplugin/java.vim')
0 files changed, 0 insertions, 0 deletions