|
| 1 | +2020-11-05 Chris Dumez <cdumez@apple.com> |
| 2 | + |
| 3 | + Crash in AudioBuffer::sampleRate() |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=218603 |
| 5 | + |
| 6 | + Reviewed by Geoffrey Garen. |
| 7 | + |
| 8 | + Have OfflineAudioDestinationNode store the sample rate instead of getting |
| 9 | + it from the render buffer. It is possible for an OfflineAudioContext to |
| 10 | + have no rendering buffer when constructing this rendering buffer fails |
| 11 | + (e.g. because the length is too large). |
| 12 | + |
| 13 | + Test: webaudio/OfflineAudioContext-bad-buffer-crash.html |
| 14 | + |
| 15 | + * Modules/webaudio/AudioContext.cpp: |
| 16 | + (WebCore::AudioContext::AudioContext): |
| 17 | + * Modules/webaudio/AudioContext.h: |
| 18 | + * Modules/webaudio/AudioDestinationNode.cpp: |
| 19 | + (WebCore::AudioDestinationNode::AudioDestinationNode): |
| 20 | + * Modules/webaudio/AudioDestinationNode.h: |
| 21 | + * Modules/webaudio/BaseAudioContext.cpp: |
| 22 | + (WebCore::BaseAudioContext::BaseAudioContext): |
| 23 | + * Modules/webaudio/BaseAudioContext.h: |
| 24 | + * Modules/webaudio/DefaultAudioDestinationNode.cpp: |
| 25 | + (WebCore::DefaultAudioDestinationNode::DefaultAudioDestinationNode): |
| 26 | + * Modules/webaudio/DefaultAudioDestinationNode.h: |
| 27 | + * Modules/webaudio/OfflineAudioContext.cpp: |
| 28 | + (WebCore::OfflineAudioContext::OfflineAudioContext): |
| 29 | + (WebCore::OfflineAudioContext::create): |
| 30 | + * Modules/webaudio/OfflineAudioContext.h: |
| 31 | + * Modules/webaudio/OfflineAudioDestinationNode.cpp: |
| 32 | + (WebCore::OfflineAudioDestinationNode::OfflineAudioDestinationNode): |
| 33 | + * Modules/webaudio/OfflineAudioDestinationNode.h: |
| 34 | + * Modules/webaudio/WebKitAudioContext.cpp: |
| 35 | + (WebCore::WebKitAudioContext::WebKitAudioContext): |
| 36 | + * Modules/webaudio/WebKitAudioContext.h: |
| 37 | + * Modules/webaudio/WebKitOfflineAudioContext.cpp: |
| 38 | + (WebCore::WebKitOfflineAudioContext::WebKitOfflineAudioContext): |
| 39 | + (WebCore::WebKitOfflineAudioContext::create): |
| 40 | + * Modules/webaudio/WebKitOfflineAudioContext.h: |
| 41 | + |
1 | 42 | 2020-11-05 Adrian Perez de Castro <aperez@igalia.com> |
2 | 43 |
|
3 | 44 | [GTK] Add missing const_cast in gdk_event_get_source_device() |
|
0 commit comments