Closed
Bug 875372
Opened 11 years ago
Closed 11 years ago
DeviceStorage: Add missing return statement in AddNamed function
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: dhylands, Assigned: dhylands)
References
Details
(Keywords: crash, Whiteboard: [b2g-crash][fixed-in-brich])
Crash Data
Attachments
(1 file, 1 obsolete file)
1.46 KB,
patch
|
dougt
:
review+
Ms2ger
:
feedback+
|
Details | Diff | Splinter Review |
Ms2get noticed that there was a return missing in the AddNamed function when a non-existant composite device storage area was specified. Without the missing return, it will cause a segfault. This bug was introduced as part of bug 858416.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Edited the correct file this time.
Attachment #753339 -
Attachment is obsolete: true
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 753341 [details] [diff] [review] Add missing return to AddNamed when a non-existant storage name is used v2 I checked all of the places that NS_DispatchToMainThread() and IsComposite() were called, just to make sure that there weren't any similar oversights elsewhere.
Attachment #753341 -
Flags: review?(Ms2ger)
Comment 4•11 years ago
|
||
Comment on attachment 753341 [details] [diff] [review] Add missing return to AddNamed when a non-existant storage name is used v2 Review of attachment 753341 [details] [diff] [review]: ----------------------------------------------------------------- Looks sane to me.
Attachment #753341 -
Flags: review?(doug.turner)
Attachment #753341 -
Flags: review?(Ms2ger)
Attachment #753341 -
Flags: feedback+
Comment 5•11 years ago
|
||
Comment on attachment 753341 [details] [diff] [review] Add missing return to AddNamed when a non-existant storage name is used v2 ><
Attachment #753341 -
Flags: review?(doug.turner) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/d421793b8c49
Whiteboard: [fixed-in-brich]
Assignee | ||
Updated•11 years ago
|
Crash Signature: [@ nsDOMDeviceStorage::AddNamed ]
Updated•11 years ago
|
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d421793b8c49
Assignee: nobody → dhylands
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Assignee | ||
Comment 10•11 years ago
|
||
I'm marking this as leo+ since crashes have been reported in b2g18 which are caused by this, and this was introduced by bug 858416, which is leo+.
blocking-b2g: leo? → leo+
Comment 11•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/05312a758e15
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-firefox22:
--- → wontfix
status-firefox23:
--- → wontfix
status-firefox24:
--- → fixed
Updated•11 years ago
|
Flags: in-moztrap?
Updated•10 years ago
|
Flags: in-moztrap?
You need to log in
before you can comment on or make changes to this bug.
Description
•