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+
Gavin Barraclough
Comment 1 2011-12-27 10:59:25 PST
Gavin Barraclough
Comment 2 2011-12-27 11:03:05 PST
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.