[Webkit-unassigned] [Bug 90028] New: There is not an exit to escape out of the recursive call written wrong
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 26 17:25:27 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90028
Summary: There is not an exit to escape out of the recursive
call written wrong
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hojong.han at samsung.com
CC: ggaren at apple.com, oliver at apple.com,
barraclough at apple.com
Webkit is locked up while loading "http://bonds.finam.ru/issue/info".
What I've analyzed is that "http://bonds.finam.ru/scripts/lizard/library/base.js" causes sort of recursive call.
Take a look into script codes below.
======================================================================================
Object.prototype.toString = Array.prototype.toString = Object.prototype.ToString = Array.prototype.ToString = function() {
var cont = [];
for (var k in this) {
if (cont.length) cont[cont.length-1] += ",";
var v = this[k];
var vs = '';
if (typeof(v) != 'undefined') {
if (v != null) {
if (typeof(v.constructor) != 'undefined') {
try{
if (v.constructor == String) {
s = v.split('\\').join('\\\\').split('"').join('\\"');
vs = '"'+s + '"';
} else {
vs = v.toString();
}
}
catch(err)
{
}
... skip ...
}
======================================================================================
Chrome, FireFox, some other browsers are not frozen while loading "http://bonds.finam.ru/issue/info".
Is there any other way to detour this kind of problem?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list