mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-22 03:03:18 +00:00
1. Fixed upper limit for inline JS on command line
2. Updated win-info to be able to fetch list of installed apps
This commit is contained in:
@@ -811,7 +811,7 @@ ILibProcessPipe_Process ILibProcessPipe_Manager_SpawnProcessEx4(ILibProcessPipe_
|
||||
|
||||
while (parameters[i] != NULL)
|
||||
{
|
||||
sz += ((int)strnlen_s(parameters[i++], _MAX_PATH) + 1);
|
||||
sz += ((int)strnlen_s(parameters[i++], sizeof(ILibScratchPad2)) + 1);
|
||||
}
|
||||
sz += (i - 1); // Need to make room for delimiter characters
|
||||
parms = (char*)malloc(sz);
|
||||
|
||||
Reference in New Issue
Block a user