Commit Graph
12 Commits
Author SHA1 Message Date
hejiaxin 4226c1fdd4 fix(bt_obex): fix some bugs in bluedroid obex
- fix goepc wait state switch
- fix psm unbind's mismatch
- fix some resources leak
- fix goep connection's incorrect ternimation when congesting
- Add some NULL ptr check
2026-09-04 10:20:04 +08:00
hejiaxin 7f42eabb08 fix(bt_stack): Fix some critical bugs in classic_bt stack
related: obex, smp, pbap, sdp, rfcomm, stack_dm

- Deinit function doesn't delete connection when OBEX_DYNAMIC_MEMORY is on
- Union tGOEPC_DATA sometimes is free by osi_free in some cases when it contains mtu_id
- Add correct free and return solution after fail
- Fix symbol mistake in mod calculation
- Fix pointer-related UAF problems and memory free problems
- Fix buffer overflows and out-of-bounds access
- Fix infinite loops triggered by integer overflow wraparound
- Fix double free
- Change layer_specific usage to avoid heap overflow
- Add some NULL check for pointers
- Fix sdp_db free function
- Fix state table mismatch
2026-07-29 17:05:31 +08:00
Jin Cheng 2ac34db41c fix(bt/bluedroid): added buffer length check for OBEX APIs 2026-06-12 18:32:39 +08:00
Jin Cheng 423c0fbf8a fix(bt/bluedroid): fixed the vulerabilities from AI code review in SPP 2026-05-09 11:05:01 +08:00
Jin Cheng a9249d1292 fix(bt/bluedroid): fixed multiple high-severity issues from AI code review in SPP 2026-05-09 11:04:54 +08:00
linruihao a0ae67ef8b fix(bt/bluedroid): Fix some bugs in Bluedroid
- Fix PBAC may free undefine memory when conn failed
- Fix some memory in OBEX not being freed when bluedroid deinit
- Fix pre-commit not check some source file that we added to bluedroid
2025-03-21 11:12:07 +08:00
linruihao d679115379 change(bt/bluedroid): Some minor changes in bluedroid
- Increase the number of BTM security records for services
- Fix a coding style issue in OBEX and GOEP
2024-12-20 15:39:02 +08:00
linruihao 23ed275eff fix(bt/bluedroid): Allow adding empty header in OBEX and GOEP 2024-12-03 17:02:39 +08:00
linruihao 88913c8ba5 change(bt/bluedroid): Remove a duplicate macro in OBEX 2024-12-03 17:02:39 +08:00
linruihao b2856253e8 feat(bt/bluedroid): Support OBEX over RFCOMM feature 2024-12-03 17:02:39 +08:00
linruihao 219cd0341a fix(bt/bluedroid): Fix l2cap psm not dereister when obex disconnect 2024-12-03 17:02:39 +08:00
linruihao da858edb7a feat(bt/bluedroid): Support OBEX over L2CAP 2024-09-13 17:58:49 +08:00