Skip to content
Commit cccf8409 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Jon Larimer
Browse files

Fix world-readable permissions due to sqlite race condition - DO NOT MERGE

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
parent 12dfd617
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment