mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 04:52:42 -08:00
fix coverity issue 1434998 Out-of-bounds access
https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18707043&defectInstanceId=4324833&mergedDefectId=1434998
This commit is contained in:
parent
830f72473b
commit
1f58875e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ static void
|
|||
fill_pair_name(char *buffer, int pair)
|
||||
{
|
||||
if (pair < ECL_UCD_FIRST_PAIR) {
|
||||
strncat(buffer, ecl_ucd_names_word[pair], ECL_UCD_LARGEST_CHAR_NAME+1);
|
||||
strncat(buffer, ecl_ucd_names_word[pair], ECL_UCD_LARGEST_CHAR_NAME);
|
||||
/*
|
||||
printf("text=%s\n", ecl_ucd_names_word[pair]);
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue