use safe_strcat() to prevent buffer overflow

fixes CID 27856 found by Coverity
This commit is contained in:
Christian Beer 2015-10-22 18:33:31 +02:00
parent 19fcfd84cb
commit 54aae7f0dd
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ bool do_pass(bool retry_error) {
if (xml_doc_like) { if (xml_doc_like) {
strcat(clause, " and xml_doc like '"); strcat(clause, " and xml_doc like '");
strcat(clause, xml_doc_like); safe_strcat(clause, xml_doc_like);
strcat(clause, "'"); strcat(clause, "'");
} }
sprintf(buf, sprintf(buf,