[webkit-reviews] review granted: [Bug 232740] Infinite loop in SourceBufferParserWebM::SegmentReader::Read : [Attachment 443364] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 5 09:12:03 PDT 2021

Eric Carlson <eric.carlson at apple.com> has granted Jer Noble
<jer.noble at apple.com>'s request for review:
Bug 232740: Infinite loop in SourceBufferParserWebM::SegmentReader::Read

Attachment 443364: Patch


--- Comment #3 from Eric Carlson <eric.carlson at apple.com> ---
Comment on attachment 443364
  --> https://bugs.webkit.org/attachment.cgi?id=443364

View in context: https://bugs.webkit.org/attachment.cgi?id=443364&action=review

r=me once the bots can deal with it

> Source/WebCore/ChangeLog:13
> +	   MTPluginByteSourceRead() call is failing and returning an error.
When an error occurrs, the


> Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp:313
> +	       if (!readResult)

I thinks "!readResult.has_value()", like you use above, is clearer.

> Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp:406
> +		   if (!readResult)


More information about the webkit-reviews mailing list