mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-3896 --resolve that sizeof was incorrect
This commit is contained in:
@@ -180,7 +180,7 @@ int tport_open_log(tport_master_t *mr, tagi_t *tags)
|
|||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy(port, p, sizeof(p));
|
strncpy(port, p, sizeof(port));
|
||||||
|
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user