aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-07-19 10:07:18 -0400
committerGitHub <noreply@github.com>2026-07-19 14:07:18 +0000
commit851656c6288362bbce702319137db60bc6a01200 (patch)
tree2499f8898335e535a9915edbddb59d0a72b5bcb6 /test/functional/vimscript/executable_spec.lua
parent239125b8c8ae699beaf0753fd4042fdeb2da0ff5 (diff)
downloadrneovim-851656c6288362bbce702319137db60bc6a01200.tar.gz
rneovim-851656c6288362bbce702319137db60bc6a01200.tar.bz2
rneovim-851656c6288362bbce702319137db60bc6a01200.zip
fix(coverity): STRING_OVERFLOW #40835
CID 651340: Security best practices violations (STRING_OVERFLOW) /src/nvim/keycodes.c: 383 in get_special_key() 377 data->key = *s; 378 data->key_alt = (String){ NULL, 0 }; 379 } 380 } 381 382 if ((int)s->size + idx + 2 <= MAX_KEY_NAME_LEN) { >>> CID 651340: Security best practices violations (STRING_OVERFLOW) >>> You might overrun the 33-character fixed-size string "string + idx" by copying "s->data" without checking the length. 383 STRCPY(string + idx, s->data); 384 idx += (int)s->size; 385 } 386 } 387 string[idx++] = '>'; 388 string[idx] = NUL;
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions