Bug 221642

Summary: WebCore::createBusFromInMemoryAudioFile() may crash under ExtAudioFileRead()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web AudioAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2021-02-09 17:05:54 PST
WebCore::createBusFromInMemoryAudioFile() may crash under ExtAudioFileRead(): 6 libAudioToolboxUtility.dylib: CrashIfClientProvidedBogusAudioBufferList <== 6 AudioToolboxCore: ExtAudioFileRead 6 WebCore: WebCore::createBusFromInMemoryAudioFile(void const*, unsigned long, bool, float) 6 WebCore: WebCore::AudioBuffer::createFromAudioFileData(void const*, unsigned long, bool, float) 6 WebCore: WTF::Detail::CallableWrapper<WebCore::AsyncAudioDecoder::AsyncAudioDecoder()::$_0, void>::call() 6 JavaScriptCore: WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) 6 JavaScriptCore: WTF::wtfThreadEntryPoint(void*) 6 libsystem_pthread.dylib: _pthread_start 6 libsystem_pthread.dylib:
Attachments
Patch (19.10 KB, patch)
2021-02-09 17:17 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-02-09 17:06:08 PST
Chris Dumez
Comment 2 2021-02-09 17:17:51 PST
Geoffrey Garen
Comment 3 2021-02-09 20:51:31 PST
Comment on attachment 419789 [details] Patch r=me
EWS
Comment 4 2021-02-10 12:34:27 PST
Committed r272678: <https://commits.webkit.org/r272678> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419789 [details].
Note You need to log in before you can comment on or make changes to this bug.