diff options
author | Oliver Chang <oliverchang@users.noreply.github.com> | 2018-08-02 20:10:00 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 20:10:00 +1000 |
commit | 46f455a66407db50ff8da5a4cd4bfee15bde76a0 (patch) | |
tree | e40521eb7da221b30a0f6bfee5965ffe4754e87e /projects/firefox | |
parent | 1d5bb6c78a39e125a6aef3611696cc3199c05cd4 (diff) |
firefox: Try setting fake HOME (#1462)
Diffstat (limited to 'projects/firefox')
-rw-r--r-- | projects/firefox/target.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/firefox/target.c b/projects/firefox/target.c index 55d2c4e0..dfec92a4 100644 --- a/projects/firefox/target.c +++ b/projects/firefox/target.c @@ -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 |