1
0
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:
Bryan Roe
2019-07-31 15:14:01 -07:00
parent 0c7290723c
commit 4cef81719e
2 changed files with 51 additions and 3 deletions

View File

@@ -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);