WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
196276
API::Data::createWithoutCopying should do a null check before calling CFRelease
https://bugs.webkit.org/show_bug.cgi?id=196276
Summary
API::Data::createWithoutCopying should do a null check before calling CFRelease
Jiewen Tan
Reported
2019-03-26 15:31:18 PDT
API::Data::createWithoutCopying should do a null check before calling CFRelease.
Attachments
Patch
(13.41 KB, patch)
2019-03-26 15:45 PDT
,
Jiewen Tan
no flags
Details
Formatted Diff
Diff
Patch
(10.74 KB, patch)
2019-03-28 14:29 PDT
,
Jiewen Tan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jiewen Tan
Comment 1
2019-03-26 15:31:35 PDT
<
rdar://problem/48059859
>
Jiewen Tan
Comment 2
2019-03-26 15:45:19 PDT
Created
attachment 366016
[details]
Patch
Jiewen Tan
Comment 3
2019-03-26 15:46:27 PDT
Comment on
attachment 366016
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=366016&action=review
> Source/WebCore/Modules/indexeddb/IDBRequest.cpp:342 > m_transaction->abortDueToFailedRequest(DOMException::create(AbortError, "IDBTransaction will abort due to uncaught exception in an event handler"_s));
This is where causing the null pointer dereference.
Jiewen Tan
Comment 4
2019-03-27 14:37:52 PDT
Comment on
attachment 366016
[details]
Patch Per personal conversation with Brady, we agree to separate the IndexedDB fix from this bug. Will have a new patch soon.
Jiewen Tan
Comment 5
2019-03-27 17:35:08 PDT
A patch is uploaded in
Bug 196319
for the indexed db fix. Since the test of the above patch depends on that other patch to not crash, I will upload a patch here after that one is landed.
Jiewen Tan
Comment 6
2019-03-28 14:29:58 PDT
Created
attachment 366205
[details]
Patch
Jiewen Tan
Comment 7
2019-03-28 14:34:34 PDT
Comment on
attachment 366205
[details]
Patch Thanks, Alex.
WebKit Commit Bot
Comment 8
2019-03-28 16:47:06 PDT
Comment on
attachment 366205
[details]
Patch Clearing flags on attachment: 366205 Committed
r243631
: <
https://trac.webkit.org/changeset/243631
>
WebKit Commit Bot
Comment 9
2019-03-28 16:47:08 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug