mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-10 21:33:38 +00:00
Converted atoi to safer alternative
This commit is contained in:
@@ -2134,7 +2134,7 @@ duk_ret_t ILibDuktape_TLS_connect(duk_context *ctx)
|
||||
if (pct > 0)
|
||||
{
|
||||
hostCopy[pct] = 0;
|
||||
pct = atoi(hostCopy + pct + 1);
|
||||
pct = ILib_atoi2_int32(hostCopy + pct + 1, sizeof(hostCopy));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user