ignore false-positive buffer overflow

All sizes are checked within this function, there is no buffer overflow.
ignores CID 27834 found by Coverity
This commit is contained in:
Christian Beer 2015-10-23 13:10:17 +02:00
parent 0be7ba443a
commit 449d31b179
1 changed files with 1 additions and 0 deletions

View File

@ -573,6 +573,7 @@ static int insert_after(char* buffer, const char* after, const char* text) {
return ERR_XML_PARSE;
}
p += strlen(after);
// coverity[fixed_size_dest]
strcpy(temp, p);
strcpy(p, text);
strcat(p, temp);