Skip to content
Snippets Groups Projects
  1. Sep 12, 2022
  2. Sep 06, 2022
  3. Aug 25, 2022
    • Brian Delwiche's avatar
      Added max buffer length check · 6b4acc4d
      Brian Delwiche authored
      Bug: 230867224
      Test: Manual -- paired Bluetooth headset and played audio
      Tags: #security
      Ignore-AOSP-First: Security
      Change-Id: I6f70db549b3fbc7f958ee70c679db438e9538472
      6b4acc4d
  4. Aug 24, 2022
  5. Aug 23, 2022
  6. Aug 22, 2022
  7. Aug 17, 2022
    • Qasim Javed's avatar
      Save UUIDs using properties rather than the pairing_cb_t · 1ecc7c64
      Qasim Javed authored
      The pairing_cb_t can be reset due to pairing state changes. We currently
      store UUIDs in the pairing_cb_t structure. Instead of that, we should
      save them using properties so that we can retrieve them later even if
      pairing_cb_t was reset.
      
      1. Upon discovery of classic UUIDs, get the existing "interesting" BLE
      UUIDs that we know of (if any) and union them with the newly discovered
      classic UUIDs.
      
      2. Upon discovery of BLE UUIDs, get the existing UUIDs that we know of
         and union them with newly discovered "interesting" BLE UUIDs
      
      This incorporates suggestions from Samsung because the original change
      was causing issues with LE Audio.
      
      Bug: 235407715
      Bug: 239483439
      Bug: 242007275
      Tag: #refactor
      Test: Samsung was running into issues with LE Audio and suggested the
      change after they tested it. I tested it manually using a JBL Flip 5.
      Merged-In: I31101f2607a3fe63bfec3b482f4dafceebe0ebe4
      
      Change-Id: I31101f2607a3fe63bfec3b482f4dafceebe0ebe4
      (cherry picked from commit 80fbe45254fa2d21b20b8e60c1358b87924afe31)
      1ecc7c64
  8. Aug 15, 2022
  9. Aug 13, 2022
  10. Aug 12, 2022
  11. Aug 11, 2022
    • Bill Yi's avatar
      Import translations. DO NOT MERGE ANYWHERE · dc17e836
      Bill Yi authored
      Auto-generated-cl: translation import
      Change-Id: Ic4f8f4c7f4fcce94b09c985b2d00414bcf649f9d
      dc17e836
    • Rahul Sabnis's avatar
      Ignore calls to set the address policy after it has already been set · 3baf1d6f
      Rahul Sabnis authored
      Bug: 239792403
      Bug: 237572866
      Bug: 195410559
      Change-Id: I92e7d482da8aa3afd9b7610fc0cf92f2c5357270
      Test: system/gd/cert/run --clean --sl4a OobPairingSl4aTest
      Test: system/gd/cert/run --clean --sl4a_sl4a OobPairingTest
      Tag: #refactor
      Ignore-AOSP-First: Security fix
      3baf1d6f
    • Rahul Sabnis's avatar
      Reconfigure Address policy on last bond removed · f4aa35ad
      Rahul Sabnis authored
      Bug: 237572866
      Bug: 195410559
      Test: system/gd/cert/run --clean --sl4a OobPairingSl4aTest
      Test: system/gd/cert/run --clean --sl4a_sl4a OobPairingTest
      Tag: #refactor
      Ignore-AOSP-First: Security fix
      Merged-In: Id1c22953c3921810d708e4aee7a8cfc0c4f97718
      Change-Id: Id1c22953c3921810d708e4aee7a8cfc0c4f97718
      (cherry picked from commit 66bfae6d)
      f4aa35ad
  12. Aug 10, 2022
  13. Aug 09, 2022
  14. Aug 07, 2022
  15. Aug 06, 2022
  16. Aug 04, 2022
    • Chienyuan's avatar
      AckPause when Create Connection Cancel fail · feaeffbe
      Chienyuan authored
      Bug: 239773749
      Test: gd/cert/run
      Tag: #refactor
      Change-Id: I0ed0187d872c0aca96b58ebb6b152e3a93e1e616
      Merged-In: I0ed0187d872c0aca96b58ebb6b152e3a93e1e616
      (cherry picked from commit 700b8a771b4a5e6b1208b4c4386e99646cbb9c4a)
      feaeffbe
    • Ted Wang's avatar
      Fix potential interger overflow when parsing vendor response · 62e29ee6
      Ted Wang authored
      Add check for str_len to prevent potential OOB read in vendor response.
      
      Bug: 205570663
      Tag: #security
      Test: net_test_stack:StackAvrcpTest
      Ignore-AOSP-First: Security
      Change-Id: Iea2c3e17c2c8cc56468c4456822e1c4c5c15f5bc
      Merged-Id: Iea2c3e17c2c8cc56468c4456822e1c4c5c15f5bc
      62e29ee6
    • Ted Wang's avatar
      Add length check when copy AVDTP packet · ed9a843c
      Ted Wang authored
      Bug: 232023771
      Test: make
      Tag: #security
      Ignore-AOSP-First: Security
      Change-Id: I68dd78c747eeafee5190dc56d7c71e9eeed08a5b
      Merged-In: I68dd78c747eeafee5190dc56d7c71e9eeed08a5b
      ed9a843c
  17. Aug 02, 2022
    • Rahul Arya's avatar
      Fix OOB in SDP server continuation length · 88f0414f
      Rahul Arya authored
      Before we read the continuation byte, we need to check
      that it is still within the packet bounds.
      
      Ignore-AOSP-First: Security fix
      Test: compiles
      Bug: 235102570
      Tag: #security
      Change-Id: Ib96293df0545e1ba848053a47202c5579e4cdccc
      (cherry picked from commit cbce3382)
      Merged-In: Ib96293df0545e1ba848053a47202c5579e4cdccc
      88f0414f
  18. Jul 31, 2022
  19. Jul 28, 2022
  20. Jul 27, 2022
    • Chris Manton's avatar
      Remove timer when connection is cancelled · 97412bc3
      Chris Manton authored
      Bug: 237600252
      Test: gd/cert/run, testplans/1181383
      Tag: #refactor
      BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
      Ignore-AOSP-First: Cherry-pick
      
      Merged-In: I3b8dccb23259d9b97cd248dc8adf7423f74ad3a1
      Change-Id: I3b8dccb23259d9b97cd248dc8adf7423f74ad3a1
      97412bc3
    • Chris Manton's avatar
      Remove from filter accept list upon cancel connect · 32a931ed
      Chris Manton authored
      connection::manager no longer arbitrates filter
      accept list manipulation
      
      Bug: 237600252
      Test: gd/cert/run, testplans/1181383
      Tag: #refactor
      BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
      Ignore-AOSP-First: Cherry-pick
      
      Merged-In: I2d0d2d64c621d565d1ed985da4b061563029def1
      Change-Id: I2d0d2d64c621d565d1ed985da4b061563029def1
      32a931ed
  21. Jul 26, 2022
    • William Escande's avatar
      Fix method not enforcing correct permissions · 040c9baf
      William Escande authored
      This missing enforcement were spotted by the erroprone build
      
      Bug: 236759221
      Fix: 240301753
      Test: m RUN_ERROR_PRONE=true Bluetooth
      Ignore-AOSP-First: Cherry-picked from aosp
      Merged-In: I5285f0754775c56a73ad1b6eef4bdb7ec3d59757
      Change-Id: I5285f0754775c56a73ad1b6eef4bdb7ec3d59757
      040c9baf
  22. Jul 23, 2022
  23. Jul 22, 2022
Loading