commit | 9fb676aa924b2ad1c1f2f8f44734b1ecd9f909dc | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Mon Nov 18 17:58:12 2013 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Nov 18 17:58:12 2013 +0000 |
tree | 8f5677df0275d500b60b8d0efbc814a5059186e5 | |
parent | 027429a34fd229d7546640bd5b629156da8dd0fd [diff] | |
parent | 9b8ae8038be65c2ec236bc04590716fbcd5363f6 [diff] |
Merge "Fix rare crash seen when dereferencing backgroundIcon[NONE]."
diff --git a/install.cpp b/install.cpp index 797a525..980830c 100644 --- a/install.cpp +++ b/install.cpp
@@ -120,6 +120,7 @@ pid_t pid = fork(); if (pid == 0) { + umask(022); close(pipefd[0]); execv(binary, (char* const*)args); fprintf(stdout, "E:Can't run %s (%s)\n", binary, strerror(errno));