Drag data can contain non-existing file paths (an application you're dragging form has full control of that). We should not crash. <rdar://problem/11402084>
Created attachment 142020 [details] proposed fix
Comment on attachment 142020 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=142020&action=review > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2191 > + RefPtr<SandboxExtension> extension = SandboxExtension::create(sandboxExtensionsHandleArray[i]); > + if (extension) > + m_pendingDropExtensionsForFileUpload.append(extension); I would have put the definition inside the if statement.
Committed <http://trac.webkit.org/changeset/117124>.