diff --git a/sched/file_deleter.cpp b/sched/file_deleter.cpp index 21367c3b00..e7b4c36fb0 100644 --- a/sched/file_deleter.cpp +++ b/sched/file_deleter.cpp @@ -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,