mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
libDtSearch: Coverity 87032
This commit is contained in:
parent
889650ea45
commit
f0917ee2b5
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void gen_vec (char *fname_huffcode_tab)
|
|||
continue;
|
||||
|
||||
/* current character has LITERAL CODE */
|
||||
strcpy (temp, huff_code[LITERAL_NUM]);
|
||||
snprintf(temp, sizeof(temp), "%s", huff_code[LITERAL_NUM]);
|
||||
*(code_length + i) = *(code_length + LITERAL_NUM) + 8;
|
||||
ch = (unsigned char) i;
|
||||
for (j = 0; j < 8; j++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue