mirror of https://github.com/BOINC/boinc.git
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:
parent
0be7ba443a
commit
449d31b179
|
@ -573,6 +573,7 @@ static int insert_after(char* buffer, const char* after, const char* text) {
|
||||||
return ERR_XML_PARSE;
|
return ERR_XML_PARSE;
|
||||||
}
|
}
|
||||||
p += strlen(after);
|
p += strlen(after);
|
||||||
|
// coverity[fixed_size_dest]
|
||||||
strcpy(temp, p);
|
strcpy(temp, p);
|
||||||
strcpy(p, text);
|
strcpy(p, text);
|
||||||
strcat(p, temp);
|
strcat(p, temp);
|
||||||
|
|
Loading…
Reference in New Issue