[Webkit-unassigned] [Bug 78435] New: UString.h will crash if is8bit is checked and UString::isNull() == true
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 12 11:23:43 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=78435
Summary: UString.h will crash if is8bit is checked and
UString::isNull() == true
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: atreat at rim.com
If you look at UString.h it seems that it is just a wrapper around WTF::StringImpl. Most of the functions in UString.h check if it is null, but not UString::is8bit. This can lead to a null pointer de-reference. For instance, if you do this...
m_mainFrame->script()->evaluateInWorld(ScriptSourceCode(""), ...);
Now, we shouldn't be doing his, but we also shouldn't crash because of it.
Adam
--
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