MOZ_CRASH("Origin must be available when deserialized") impedes fuzzing
Categories
(Core :: DOM: Content Processes, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: haik, Assigned: haik)
References
()
Details
(Keywords: oss-fuzz, Whiteboard: sb?)
Attachments
(1 file)
Creating this bug to land a fix that #ifdefs around the MOZ_CRASH("Origin must be available when deserialized") in PrincipalInfoToPrincipal() when fuzzing is enabled. We still need to root cause bug 1578458.
+++ This bug was initially created as a clone of Bug #1578458 +++
Assignee | ||
Comment 1•5 years ago
|
||
When fuzzing, return an error instead of crashing in PrincipalInfoToPrincipal() for some error cases.
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
@decoder, before landing this patch to help with fuzzing, I would like to validate that it does help with coverage. Are you able to help test fuzzing with the posted patch?
Comment 3•5 years ago
|
||
(In reply to Haik Aftandilian [:haik] from comment #2)
@decoder, before landing this patch to help with fuzzing, I would like to validate that it does help with coverage. Are you able to help test fuzzing with the posted patch?
Confirmed, this fixes the crash. I also took the liberty to fix bug 1591023 in a similar fashion for you. I will post the patch there for you to review. :)
Comment 5•5 years ago
|
||
bugherder |
Comment 6•5 years ago
|
||
Hi Haik, is qa needed here? If so, could you please provide us some steps? Thanks!
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to Catalin Sasca, QA [:csasca] from comment #6)
Hi Haik, is qa needed here? If so, could you please provide us some steps? Thanks!
No QA is needed for this. The changes are not compiled into release builds.
Description
•