Summary: | Nullptr dereference in SpeechRecognition::stop() | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||||||||
Component: | Media | Assignee: | Sihui Liu <sihui_liu> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | aakash_jain, bfulgham, ews-feeder, product-security, rniwa, webkit-bug-importer, youennf | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Sihui Liu
2021-01-22 11:02:01 PST
Created attachment 418159 [details]
Patch
Created attachment 418160 [details]
Patch
Comment on attachment 418160 [details]
Patch
Is there a security issue? If not, can we add a test?
It seems a test can be added if this is about frameless document. Created attachment 418205 [details]
Patch
Comment on attachment 418205 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418205&action=review > LayoutTests/fast/speechrecognition/detached-iframe.html:8 > + > + Two blank lines. > LayoutTests/fast/speechrecognition/detached-iframe.html:11 > +if (window.testRunner) { > + jsTestIsAsync = true; > +} No curly braces around a single line statement. > LayoutTests/fast/speechrecognition/detached-iframe.html:14 > + var frame = document.getElementById('iframe'); Use const? Created attachment 418247 [details]
Patch for landing
commit-queue failed to commit attachment 418247 [details] to WebKit repository.
Committed r271791: <https://trac.webkit.org/changeset/271791> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418247 [details]. |