CC (gcc) [kamailio] core/nonsip_hooks.o
CC (gcc) [kamailio] core/onsend.o
CC (gcc) [kamailio] core/pass_fd.o
CC (gcc) [kamailio] core/ppcfg.o
In file included from core/ppcfg.c:37:
core/utils/snexpr.h: In function 'snexpr_create':
core/utils/snexpr.h:1247:98: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 2 [-Wformat-truncation=]
1247 | snprintf(varname, sizeof(varname) - 1, "$%d",
| ^~
core/utils/snexpr.h:1247:96: note: directive argument in the range [-2147483646, 2147483647]
1247 | snprintf(varname, sizeof(varname) - 1, "$%d",
| ^~~~~
core/utils/snexpr.h:1247:57: note: 'snprintf' output between 3 and 13 bytes into a destination of size 3
1247 | snprintf(varname, sizeof(varname) - 1, "$%d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1248 | (j + 1));
| ~~~~~~~~
CC (gcc) [kamailio] core/proxy.o
CC (gcc) [kamailio] core/pt.o
CC (gcc) [kamailio] core/pv_core.o
CC (gcc) [kamailio] core/pvapi.o
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.