Fix potential buffer overruns found by GCC 8.2

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2018-10-15 22:56:23 +02:00
1 parent 67cd88cd23
commit 510b36645b
4 files changed
+24 -19

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ static char query_buf[368];
static int missing(char *job, int id)
{
char buf[20];
char idstr[10] = "";
char idstr[13] = "";
if (!job)
job = "";