From 449d31b179f61ade1e65154f799e974c7dd2606b Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Fri, 23 Oct 2015 13:10:17 +0200 Subject: [PATCH] ignore false-positive buffer overflow All sizes are checked within this function, there is no buffer overflow. ignores CID 27834 found by Coverity --- sched/sched_send.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sched/sched_send.cpp b/sched/sched_send.cpp index 82c55b5b74..7178a060e0 100644 --- a/sched/sched_send.cpp +++ b/sched/sched_send.cpp @@ -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);