diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2013-02-08 16:36:25 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-02-18 11:09:23 +0000 |
commit | 5acb33af357b56fffb055997718b1e4aa97f53fc (patch) | |
tree | b534ecfcd7a2f3662d8eb8842a97df4c3e833b30 /services/java/com/android/server/NotificationManagerService.java | |
parent | 7f7535fd250a30ff5383b046295db88613fe719a (diff) |
Make synthesizeToFile create file on a client side.
In previous setup, synthesizeToFile method relied on synthesizer
service to create world readable output file. This is potential
source of vulnerabilities.
This change moves output file creation to the client side, and
synthesizer service receives already opened file descriptor.
This change may break applications that are creating files in
now unaccessible locations, like /sdcard/.
Bug: 8027957
Change-Id: I97351be5d2f2f8ef9aa43d0ab08c4b825ca4c22b
Diffstat (limited to 'services/java/com/android/server/NotificationManagerService.java')
0 files changed, 0 insertions, 0 deletions