1. 19 Nov, 2014 2 commits
    • Narayan Kamath's avatar
      a561e9ca
    • Martin Storsjo's avatar
      Store inodes in unsigned long long · eef2c431
      Martin Storsjo authored
      In 32 bit ABIs, ino_t is a 32 bit type, while the st_ino field
      in struct stat is 64 bits wide in both 32 and 64 bit processes.
      This means that struct stat can expose inode numbers that are
      truncated when stored in an ino_t.
      
      The SDCard fuse daemon (/system/bin/sdcard) uses raw pointer
      values as inode numbers, so on 64 bit devices, we're very likely
      to observe inodes that need > 32 bits to represent.
      
      The fileHasMoved function in sqlite compares the stored
      inode value with a new one from stat, and when the stored
      value is truncated, this check will falsely indicate that
      the file has been moved. When the fileHasMoved function
      triggers, other functions start returning errors indicating
      that the database is in read-only mode.
      
      NOTE: Bionic differs from glibc in that struct stat's st_ino
      is *always* 64 bits wide, and not the same width as ino_t.
      
      bug: https://code.google.com/p/android/issues/detail?id=79994
      bug: 18434265
      
      Change-Id: Id79a866c8891d6df47e4eec17ad9eb48e4cb0138
      eef2c431
  2. 12 Sep, 2014 2 commits
  3. 11 Sep, 2014 3 commits
  4. 10 Sep, 2014 1 commit
  5. 09 Sep, 2014 1 commit
  6. 20 Aug, 2014 1 commit
  7. 14 Jul, 2014 3 commits
  8. 10 Jul, 2014 2 commits
  9. 09 Jul, 2014 2 commits
  10. 07 Jun, 2014 3 commits
  11. 29 May, 2014 1 commit
    • Nick Kralevich's avatar
      sqlite: upgrade to SQLite 3.8.4.3 · 8fecf56c
      Nick Kralevich authored
      Downloaded from http://www.sqlite.org/snapshot/sqlite-amalgamation-201405271818.zip
      
        $ sha256sum sqlite-amalgamation-3080403.zip
        8bac4a9cf70270ca514db9b740e0950e7fca0c656119b42454376b7d5769b3d8  sqlite-amalgamation-3080403.zip
      
      dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above.
      
      dist contains a copy of dist/orig, but with the Android.patch file applied.
      Please see Android.patch for a list of differences between stock and
      Android.
      
      Bug: 15288755
      Change-Id: I05f0c302ecb0e6c251cbe8c888f07cf2e0498855
      8fecf56c
  12. 28 May, 2014 3 commits
  13. 23 May, 2014 1 commit
  14. 08 May, 2014 1 commit
  15. 07 May, 2014 3 commits
  16. 06 Mar, 2014 1 commit
  17. 03 Mar, 2014 7 commits
  18. 28 Feb, 2014 3 commits