I used the --install option to register an executable to be started via procgov:
procgov64 --install --maxmem 100M test.exe
Attempting to start that executable causes procgov to be started with the following arguments:
procgov64 --debugger -maxmem 100M test.exe
This produces the following error from procgov:
ERROR: Required null terminator missing. (Parameter 'lpCommandLine')
It looks like code here is not ensuring that the lpCommandLine string is terminated by a null character, which is required by the CreateProcess WIN32 function. This line of code should add a null-character to the end of the args string.
I used the
--install
option to register an executable to be started via procgov:procgov64 --install --maxmem 100M test.exe
Attempting to start that executable causes procgov to be started with the following arguments:
procgov64 --debugger -maxmem 100M test.exe
This produces the following error from procgov:
ERROR: Required null terminator missing. (Parameter 'lpCommandLine')
It looks like code here is not ensuring that the
lpCommandLine
string is terminated by a null character, which is required by theCreateProcess
WIN32 function. This line of code should add a null-character to the end of theargs
string.