mirror of https://github.com/google/oss-fuzz.git
Fix chewing_fuzzer.
Set CHEWING_USER_PATH to /tmp instead, since the executable directory is read only on CF. Should fix #13.
This commit is contained in:
parent
e751c6c3ae
commit
b1b39adf11
|
@ -15,7 +15,7 @@ int stress_main(int argc, char** argv);
|
|||
char* dir = dirname(exe_path);
|
||||
// Assume data files are at the same location as executable.
|
||||
setenv("CHEWING_PATH", dir, 0);
|
||||
setenv("CHEWING_USER_PATH", dir, 0);
|
||||
setenv("CHEWING_USER_PATH", "/tmp", 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue