From ebfb8baeed9a19b83cefe98380baafb7b33fa876 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Fri, 12 Oct 2018 13:16:29 -0400 Subject: [PATCH] main/astfd: Fix GCC8 format-truncation warning. The field used to store call arguments was not large enough to hold the arguments string that can be constructed for 'open'. Expand it to prevent this warning/error. Change-Id: I514927f256481bc84df10a51b19d5b5fb1bc387e --- main/astfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/astfd.c b/main/astfd.c index e9bc142f15..7f9a0d948a 100644 --- a/main/astfd.c +++ b/main/astfd.c @@ -53,7 +53,7 @@ static struct fdleaks { unsigned int isopen:1; char file[40]; char function[25]; - char callargs[60]; + char callargs[100]; } fdleaks[1024] = { { "", }, }; /* COPY does ast_copy_string(dst, src, sizeof(dst)), except: