Closed Bug 1356392 Opened 9 years ago Closed 9 years ago

Use release assert in EnumSerializer::Write

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox54 --- fixed
firefox55 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

It seems slightly goofy to send a value we know will just kill the other process. This also seems like a decent indication that we're sending uninitialized values, which is bad. I can't imagine the overhead is too high.
Comment on attachment 8858134 [details] Bug 1356392 - Use a release assert in EnumSerializer::Write. https://reviewboard.mozilla.org/r/130092/#review132700
Attachment #8858134 - Flags: review?(kchen) → review+
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/31430ca292f2 Use a release assert in EnumSerializer::Write. r=kanru
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment on attachment 8858134 [details] Bug 1356392 - Use a release assert in EnumSerializer::Write. Approval Request Comment [Feature/Bug causing the regression]: none [User impact if declined]: this will cause some crashes to be easier to analyze, and paper over some security issues [Is this code covered by automated tests?]: yes [Has the fix been verified in Nightly?]: yes, it did not turn up any new issues. [Needs manual test from QE? If yes, steps to reproduce]: no [List of other uplifts needed for the feature/fix]: none [Is the change risky?]: no [Why is the change risky/not risky?]: it just runs a check we are already running earlier [String changes made/needed]: none
Attachment #8858134 - Flags: approval-mozilla-beta?
Depends on: 1357404
Comment on attachment 8858134 [details] Bug 1356392 - Use a release assert in EnumSerializer::Write. Help debug crash issue. Beta54+. Should be in 54 beta 1.
Attachment #8858134 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
(In reply to Andrew McCreight [:mccr8] from comment #6) > [Is this code covered by automated tests?]: yes > [Has the fix been verified in Nightly?]: yes, it did not turn up any new > issues. > [Needs manual test from QE? If yes, steps to reproduce]: no Setting qe-verify- based on Andrew's assessment on manual testing needs and the fact that this fix has automated coverage.
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: