mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-11345: Fixed Werror=stringop-truncation for mod_opus
Fixed Werror=format-truncation on sofia-sip/libsofia-sip-ua/tport Fixed Werror=format-truncation on mod/endpoints/mod_verto Fixed unused-but-set-variable in mod_lua Fixed Werror=format-truncation on libs/sofia-sip/libsofia-sip-ua/tport Fixed Wunused-variable Wmaybe-uninitialized on mod_soundtouch Fixed Wliteral-suffix for libs/unimrcp
This commit is contained in:
1 parent
cae7f0fa2f
commit
abde630fea
9 files changed
+19
-20
No files matched your search
@@ -315,7 +315,7 @@ int tport_open_log(tport_master_t *mr, tagi_t *tags)
|
||||
|
||||
/** Create log stamp */
|
||||
void tport_stamp(tport_t const *self, msg_t *msg,
|
||||
char stamp[128], char const *what,
|
||||
char stamp[512], char const *what,
|
||||
size_t n, char const *via,
|
||||
su_time_t now)
|
||||
{
|
||||
@@ -357,7 +357,7 @@ void tport_stamp(tport_t const *self, msg_t *msg,
|
||||
|
||||
su_inet_ntop(su->su_family, SU_ADDR(su), name, sizeof(name));
|
||||
|
||||
snprintf(stamp, 128,
|
||||
snprintf(stamp, 144,
|
||||
"%s "MOD_ZU" bytes %s %s/[%s]:%u%s%s at %02u:%02u:%02u.%06lu:\n",
|
||||
what, (size_t)n, via, self->tp_name->tpn_proto,
|
||||
name, ntohs(su->su_port), label[0] ? label : "", comp,
|
||||
|
||||
@@ -254,10 +254,10 @@ int ws_handshake(wsh_t *wsh)
|
||||
char version[5] = "";
|
||||
char proto[256] = "";
|
||||
char proto_buf[384] = "";
|
||||
char input[256] = "";
|
||||
char input[512] = "";
|
||||
unsigned char output[SHA1_HASH_SIZE] = "";
|
||||
char b64[256] = "";
|
||||
char respond[512] = "";
|
||||
char respond[1024] = "";
|
||||
ssize_t bytes;
|
||||
char *p, *e = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user