WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
75260
Null name for host function can result in dereference of uninitialize memory
https://bugs.webkit.org/show_bug.cgi?id=75260
Summary
Null name for host function can result in dereference of uninitialize memory
Gavin Barraclough
Reported
2011-12-27 10:48:47 PST
This is a recent regression in ToT, if the name passed to finishCreation of a host function is null, we are currently skipping the putDirect, which leaves memory uninitialized. This patch reverts the aspect of the change that introduced the issue. It might be better if functions that don't have a name don't have this property at all, but that's change should be separate from fixing the bug.
Attachments
Fix
(4.14 KB, patch)
2011-12-27 10:59 PST
,
Gavin Barraclough
fpizlo
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2011-12-27 10:59:25 PST
Created
attachment 120606
[details]
Fix
Gavin Barraclough
Comment 2
2011-12-27 11:03:05 PST
<
rdar://problem/10628279
>
Gavin Barraclough
Comment 3
2011-12-27 14:09:46 PST
Fixed in
r103728
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