mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user