firefox: Try setting fake HOME (#1462)

This commit is contained in:
Oliver Chang 2018-08-02 20:10:00 +10:00 committed by GitHub
parent 1d5bb6c78a
commit 46f455a664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ int main(int argc, char* argv[]) {
perror("Error setting fuzzing variables");
exit(1);
}
if (setenv("HOME", "/tmp", 0)) {
perror("Error setting HOME");
exit(1);
}
// Temporary (or permanent?) work-around for a bug in the fuzzing interface.
// https://bugzilla.mozilla.org/show_bug.cgi?id=1466021#c9