[Webkit-unassigned] [Bug 6345] New: REGRESSION: repro crash when specifying an invalid value for the charset attribute of a <script>
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Jan 3 00:47:11 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=6345
Summary: REGRESSION: repro crash when specifying an invalid value
for the charset attribute of a <script>
Product: WebKit
Version: 412+
Platform: Macintosh
URL: http://www.mooma.com/
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P1
Component: WebKit Misc.
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: opendarwin.org at mitzpettel.com
CC: macdome at opendarwin.org
Safari crashes if the charset attribute in a <script> tag, (or the document's charset, if the script tag
doesn't specify a charset) is not a valid encoding name. The crash is because ChachedScript's m_codec is
null.
To reproduce, open the attached testcase in Safari.
The regression is from the patch for bug 6078, which replaced a few instances of KGlobal::charsets()-
>codecForName() with QTextCodec::codecForName(). The former defaults to ISO-8859-1 when the
argument is invalid, but the latter returns 0.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list