diff options
| author | Jeff Vander Stoep <jeffv@google.com> | 2014-09-10 13:14:28 -0700 |
|---|---|---|
| committer | LorDClockaN <davor@losinj.com> | 2014-09-28 17:40:58 +0200 |
| commit | 70920d9f18564feacb4132bfaa4bcea3528a70a4 (patch) | |
| tree | f6eafe3dce6f3b870bf4f634a3c7f052bd8c9c84 /dist/sqlite3ext.h | |
| parent | ce91dbed6425fbe874239810e6b1d7b93a3b6564 (diff) | |
Fix world-readable permissions due to sqlite race conditionkitkat
Existing code uses umask() to temporarily modify the file permissions for
open(). A race condition can occur where a second thread reads in the
temporary value, saves it, and then restores the file to the temporary value
resulting in world-readable permissions. Backporting a known fix:
http://www.sqlite.org/src/info/6c4c2b7dba
Bug: 15288755
Change-Id: I89779f3a5ba0bec181d6614b29b1e26ea4f4f049
Diffstat (limited to 'dist/sqlite3ext.h')
0 files changed, 0 insertions, 0 deletions
