Hello, i recently updated my WSL program and when compiling the same program i get a ton of warnings. like...
track.c:309:21: note: ‘snprintf’ output between 26 and 4121 bytes into a destination of size 4096 309 |
snprintf( buf, MAX_STRING_LENGTH, "Don't make me find you, %s!", victname );
my main file has these settings:
#define MAX_KEY_HASH 2048
#define MAX_STRING_LENGTH 4096 /* buf */
#define MAX_INPUT_LENGTH 1024 /* arg */
#define MAX_INBUF_SIZE 1024
#define MSL MAX_STRING_LENGTH
#define MIL MAX_INPUT_LENGTH
I tried rising the values but the problem persists.
How i can fix it?
Can anyone help?