From: Corey Farrell Date: Fri, 12 Oct 2018 17:21:24 +0000 (-0400) Subject: main/astfd: Fix GCC8 format-truncation warning. X-Git-Tag: 17.0.0-rc1~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675d8a46b4f7f0831e52a385e7968e252ac0d5ed;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/astfd.c b/main/astfd.c index 5fa5c30464..83228039ea 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]; struct timeval now; } fdleaks[1024] = { { "", }, };