Closed
Bug 1221898
Opened 9 years ago
Closed 9 years ago
Followup of bug 1211769: Fix PBAP memory leakage
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(blocking-b2g:2.2r+, firefox45 fixed, b2g-v2.2r fixed)
People
(Reporter: shawnjohnjr, Assigned: ben.tian)
References
Details
Attachments
(1 file, 1 obsolete file)
1.09 KB,
patch
|
brsun
:
review+
|
Details | Diff | Splinter Review |
Follow up: https://bugzilla.mozilla.org/show_bug.cgi?id=1211769#c38 https://dxr.mozilla.org/mozilla-central/source/dom/bluetooth/bluedroid/BluetoothPbapManager.cpp?from=bluetoothpbapmanager.cpp#928 // ---- Part 2b: [headerId:1][length:2][Body:var] ---- // index += AppendHeaderBody(&res[index], remainingPacketSize, (uint8_t*) buf.forget(), numRead); Passing (uint8_t*)buf.forget() can cause memory leakage.
Assignee | ||
Updated•9 years ago
|
Summary: Fix PBAP leakage → Followup of bug 1211769: Fix PBAP memory leakage
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → btian
Attachment #8683561 -
Flags: review?(brsun)
Assignee | ||
Updated•9 years ago
|
Attachment #8683561 -
Flags: review?(brsun)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8683561 -
Attachment is obsolete: true
Attachment #8683562 -
Flags: review?(brsun)
Comment 4•9 years ago
|
||
Comment on attachment 8683562 [details] [diff] [review] Patch 1 (v2): Fix PBAP memory leakage Review of attachment 8683562 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8683562 -
Flags: review?(brsun) → review+
Comment 6•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6cf483eb34a6
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S11 (13Nov)
Comment 7•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/75596315708f
status-b2g-v2.2r:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•