Disable some diagnostic asserts in MediaPlaybackStatus for IPC fuzzing
Categories
(Core :: Audio/Video, defect, P2)
Tracking
()
People
(Reporter: decoder, Assigned: decoder)
Details
Attachments
(1 file)
There is a set of diagnostic asserts here
that do not hold under IPC fuzzing. As discussed with :alwu, these have no security implication and we can ignore them for IPC fuzzing.
| Assignee | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 3•2 years ago
|
||
Per comment in review, I've looked once more at how exactly this assert is violated and I believe it is pretty simple:
The content process can call ContentParent::RecvNotifyMediaAudibleChanged via IPC and claim something is audible even though nothing is playing. That will break the MOZ_DIAGNOSTIC_ASSERT(mAudibleMediaNum < mPlayingMediaNum); assert.
You can also call this method and claim something is no longer audible even though nothing was audible in the first place, violating another of these asserts.
A well-behaved content process would do neither of these but in IPC fuzzing we can just call anything randomly.
:alwu, does that that clarify well enough how these asserts get violated in IPC fuzzing? We can reproduce these but the steps to reproduce are still rather elaborate at the moment.
Comment 5•2 years ago
|
||
| bugherder | ||
Comment 6•2 years ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•1 year ago
|
Description
•