1. 24 Oct, 2016 1 commit
    • Mark Salyzyn's avatar
      logd: mLastWorstPidOFSystem crash · ab8ad629
      Mark Salyzyn authored
      (cherry pick from commit fa07f9dc)
      
      mLastWorstPidOfSystem is filled with iterator references
      that are not from AID_SYSTEM to aid the performance. But
      we only clear entries from the list during erase if they
      are from AID_SYSTEM. Remove the filter check in erase so
      the stale references will be removed.
      
      The conditions that caused this failure are difficult to
      reproduce and are rare.
      
      Test: gTests logd-unit-tests, liblog-unit-tests and logcat-unit-tests
      Bug: 32247044
      Bug: 31237377
      Change-Id: Ie405dd643203b816cac15eef5c97600551cee450
      ab8ad629
  2. 21 Oct, 2016 2 commits
  3. 18 Oct, 2016 2 commits
  4. 12 Oct, 2016 1 commit
    • Lingfeng Yang's avatar
      Fix adb flakiness on reboot · eec5e52e
      Lingfeng Yang authored
      bug: 31950237
      
      There are two lists of active ADB transports (devices),
      and with the emulator, they can go out of sync.
      
      This CL more conservatively checks if there are no
      transports in either list before commiting to
      register a new transport for the emulator.
      
      Change-Id: Id1201dc59c70825881dad80925c2e5bcc13dbd5e
      (cherry picked from commit edaedfd5da41b2f5aa14b4d52742a6d8caa49214)
      eec5e52e
  5. 11 Oct, 2016 1 commit
    • Tim Murray's avatar
      libsuspend: move to exponential backoff · fb896944
      Tim Murray authored
      If for some reason the system can't suspend (usually a driver bug),
      libsuspend will currently attempt to retry suspend after 100ms. Because
      entering suspend takes a significant amount of CPU time, this can be
      extremely expensive and be a major contributor to rapid battery
      drain. Move autosuspend to use exponential backoff if the previous
      suspend attempt failed.
      
      bug 32092914
      
      Change-Id: I3e9e944f290de5f1853a02e3f61721ba9159df46
      fb896944
  6. 10 Oct, 2016 1 commit
  7. 09 Oct, 2016 1 commit
  8. 07 Oct, 2016 9 commits
  9. 26 Sep, 2016 1 commit
  10. 23 Sep, 2016 1 commit
    • Tianjie Xu's avatar
      Fix out of bound access in libziparchive · 1ee4892e
      Tianjie Xu authored
      The boundary check of an invalid EOCD record may succeed due to the
      overflow of uint32_t. Fix the check.
      
      Test: Open the crash.apk and libziparchive reports the offset error as expected.
      
      Bug: 31251826
      Change-Id: I1d8092a19b73886a671bc9d291cfc27d65e3d236
      (cherry picked from commit ae8180c06dee228cd1378c56afa6020ae98d8a24)
      1ee4892e
  11. 21 Sep, 2016 13 commits
  12. 20 Sep, 2016 3 commits
  13. 13 Sep, 2016 1 commit
    • Narayan Kamath's avatar
      libzipfile: add additional validity checks. · a1ec2363
      Narayan Kamath authored
      - Make sure the start and end of the data for a given entry are
        within the allocated buffer.
      - Make sure all central directory entries start and end within the
        central directory buffer.
      - Reject zip file entries that have no filenames.
      
      bug: 30916186
      test: test_zipfile with known bad zip files.
      Change-Id: Ibf3f6469e60c85ec1608f5ce613d40867d2d09b7
      a1ec2363
  14. 08 Sep, 2016 3 commits