Closed Bug 948247 Opened 11 years ago Closed 11 years ago

[Bluetooth][bluedroid] Race condition in BluetoothSocket may result in segmentation fault

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ben.tian, Assigned: ben.tian)

Details

Attachments

(1 file)

Referring to bug 936402, BluetoothSocket has similar problem that IO thread accesses main-thread-access-only variable.
Assignee: nobody → btian
Comment on attachment 8345100 [details] [diff] [review]
[final] Patch 1: Access mConsumer in main thread only, r=echou

Review of attachment 8345100 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me.
Attachment #8345100 - Flags: review?(echou) → review+
Comment on attachment 8345100 [details] [diff] [review]
[final] Patch 1: Access mConsumer in main thread only, r=echou

try server: https://tbpl.mozilla.org/?tree=Try&rev=f7dd1d3a72bb
Attachment #8345100 - Attachment description: Patch 1 (v1): Access mConsumer in main thread only → [final] Patch 1: Access mConsumer in main thread only, r=echou
https://hg.mozilla.org/mozilla-central/rev/c54624862f5a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: