mirror of https://github.com/BOINC/boinc.git
use safe_strcat() to prevent buffer overflow
fixes CID 27856 found by Coverity
This commit is contained in:
parent
19fcfd84cb
commit
54aae7f0dd
|
@ -372,7 +372,7 @@ bool do_pass(bool retry_error) {
|
|||
|
||||
if (xml_doc_like) {
|
||||
strcat(clause, " and xml_doc like '");
|
||||
strcat(clause, xml_doc_like);
|
||||
safe_strcat(clause, xml_doc_like);
|
||||
strcat(clause, "'");
|
||||
}
|
||||
sprintf(buf,
|
||||
|
|
Loading…
Reference in New Issue