Show More
@@ -31,6 +31,8 b' extern "C" int LLVMFuzzerInitialize(int ' | |||
|
31 | 31 | strncpy(cpypath, pypath.c_str(), pypath.size()); |
|
32 | 32 | setenv("PYTHONPATH", cpypath, 1); |
|
33 | 33 | setenv("PYTHONNOUSERSITE", "1", 1); |
|
34 | /* prevent Python from looking up users in the fuzz environment */ | |
|
35 | setenv("PYTHONUSERBASE", cpypath, 1); | |
|
34 | 36 | Py_SetPythonHome(cpypath); |
|
35 | 37 | Py_InitializeEx(0); |
|
36 | 38 | return 0; |
General Comments 0
You need to be logged in to leave comments.
Login now