| Summary: | [MSE][GStreamer] Remove m_sourceBufferPrivateClient checks in SourceBufferPrivateGStreamer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alicia Boya García <aboya> | ||||||
| Component: | WebKitGTK | Assignee: | Alicia Boya García <aboya> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bugs-noreply, calvaris, cgarcia, ews-watchlist, gustavo, menard, pnormand, vjaquez | ||||||
| Priority: | P2 | ||||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Alicia Boya García
2020-08-07 05:10:24 PDT
Created attachment 406164 [details]
Patch
Created attachment 406166 [details]
Patch
Comment on attachment 406166 [details]
Patch
I would be quieter if we ASSERT on the client before calling it.
(In reply to Xabier Rodríguez Calvar from comment #3) > Comment on attachment 406166 [details] > Patch > > I would be quieter if we ASSERT on the client before calling it. The way I see it, there is already an implicit assert there, built in the CPU: the pointer indirection will segfault (and crash, just like with asserts) in that same line if m_sourceBufferPrivateClient is NULL. Since it's the only pointer being indirected in that line, or the function even, an assert doesn't give us any more specificity even when looking at the traceback. Committed r265494: <https://trac.webkit.org/changeset/265494> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406166 [details]. |