Advertisement
Guest User

Untitled

a guest
Feb 9th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. commit c639cb67b4310b80aeddb4184dc191a24b23e9ca (tag: android-7.1.1_r21, tag: android-7.1.1_r20, upstream/nougat-mr1.3-release)
  2. Author: Philip P. Moltmann <moltmann@google.com>
  3. Date: Tue Dec 13 16:32:06 2016 -0800
  4.  
  5. Do not write if apply() did not change the file.
  6.  
  7. Bug: 33385963
  8. Test: SharedPreferences CTS tests
  9. Change-Id: I39955f8fbcdaa54faa539a3c503e12cb00808136
  10. (cherry picked from commit 1f99f81bdc5e8430717def157f4abe1176d6a88e)
  11.  
  12. commit 06276708d6e0a3d3cfa8dee7e7b4be06cde52469
  13. Author: Philip P. Moltmann <moltmann@google.com>
  14. Date: Tue Dec 13 16:23:21 2016 -0800
  15.  
  16. Only persist last Shared Preferences state
  17.  
  18. If multiple async shared preferences writes are queued, all but the
  19. last one can be ignored as they will be overwritten by the last one
  20. anyway.
  21.  
  22. For commit() we need to make sure that we have at least persisted the
  23. state of the commit.
  24.  
  25. Generation counts are 64 bit, hence they never overflow.
  26.  
  27. Test: Produced a lot of SharedPreferences.Editor.apply and did not see
  28. excessive writes anymore, ran SharedPreferences CTS tests
  29. Bug: 33385963
  30. Change-Id: I3968ed4b71befee6eeb90bea1666a0bb646544f6
  31. (cherry picked from commit 31d6889f4c89dd8498e2095f9d8a3c39fbd17c86)
  32.  
  33. (cherry picked from commit d15c4f1da58de847ebdecdfade96d21ba8128929)
  34.  
  35. commit 70e13cc6830c081dd67290e3e55a17c091a44365
  36. Author: Svet Ganov <svetoslavganov@google.com>
  37. Date: Thu Dec 15 14:51:17 2016 -0800
  38.  
  39. [DO NOT MERGE] Fix vulnerability in MemoryIntArray - fix build file
  40.  
  41. bug:33039926
  42. bug:33042690
  43.  
  44. Change-Id: If0431b77ec546c72f8cc25bb605a851572bb22a6
  45. (cherry picked from commit c3db570a0064b2dcbe806ddb5de3f678623612ca)
  46.  
  47. commit de5e34583e1111b50eb04cd7e77d0084a2e8b78a
  48. Author: Svetoslav Ganov <svetoslavganov@google.com>
  49. Date: Thu Dec 8 11:48:19 2016 -0800
  50.  
  51. Fix vulnerability in MemoryIntArray
  52.  
  53. MemoryIntArray was using the size of the undelying
  54. ashmem region to mmap the data but the ashmem size
  55. can be changed until the former is memory mapped.
  56. Since we use the ashmem region size for boundary
  57. checking and memory unmapping if it does not match
  58. the size used while mapping an attacker can force
  59. the system to unmap memory or to access undefined
  60. memory and crash.
  61.  
  62. Also we were passing the memory address where the
  63. ashmem region is mapped in the owner process to
  64. support cases where the client can pass back the
  65. MemoryIntArray instance. This allows an attacker
  66. to put invalid address and cause arbitrary memory
  67. to be freed.
  68.  
  69. Now we no longer support passing back the instance
  70. to the owner process (the passed back instance is
  71. read only), so no need to pass the memory adress
  72. of the owner's mapping, thus not allowing freeing
  73. arbitrary memory.
  74.  
  75. Further, we now check the memory mapped size against
  76. the size of the underlying ashmem region after we do
  77. the memory mapping (to fix the ahsmem size) and if
  78. an attacker changed the size under us we throw.
  79.  
  80. Tests: Updated the tests and they pass.
  81.  
  82. bug:33039926
  83. bug:33042690
  84.  
  85. Change-Id: I1004579181ff7a223ef659e85c46100c47ab2409
  86. (cherry picked from commit a97171ec499fd876722733f35e51d0d6dbd8d223)
  87.  
  88. commit 36772fc2263e06972add737660392afd246da15e
  89. Author: Jeff Sharkey <jsharkey@android.com>
  90. Date: Wed Nov 30 16:07:00 2016 -0700
  91.  
  92. DO NOT MERGE. Retain DownloadManager Uri grants when clearing.
  93.  
  94. As part of fixing a recent security issue, DownloadManager now needs
  95. to issue Uri permission grants for all downloads. However, if an app
  96. that requested a download is upgraded or otherwise force-stopped,
  97. the required permission grants are removed.
  98.  
  99. We could tell DownloadManager about the app being stopped, but that
  100. would be racy (due to background broadcast), and waking it up would
  101. degrade system health. Instead, as a special case we now only
  102. consider clearing DownloadManager permission grants when app data
  103. is being cleared.
  104.  
  105. Bug: 32172542, 30537115
  106. Test: builds, boots, app upgrade doesn't clear grants
  107. Change-Id: I7e3d4546fd12bfe5f81b9fb9857ece58d574a6b9
  108. (cherry picked from commit 23ec811266fb728cf159a90ce4882b3c9bac1887)
  109. (cherry picked from commit 6eee8e37fd06bd47dd19b8503bc30cc8ccaf72a7)
  110.  
  111. commit db57376d6ccbd4d3e39fc35aa8cfb561bbca4bac
  112. Author: Jeff Sharkey <jsharkey@android.com>
  113. Date: Wed Nov 16 17:22:48 2016 -0700
  114.  
  115. DO NOT MERGE: Check provider access for content changes.
  116.  
  117. For an app to either send or receive content change notifications,
  118. require that they have some level of access to the underlying
  119. provider.
  120.  
  121. Without these checks, a malicious app could sniff sensitive user data
  122. from the notifications of otherwise private providers.
  123.  
  124. Test: builds, boots, PoC app now fails
  125. Bug: 32555637
  126. Change-Id: If2dcd45cb0a9f1fb3b93e39fc7b8ae9c34c2fdef
  127. (cherry picked from commit c813f5dae231bd8f01864227c5dba10d43a89249)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement