[Webkit-unassigned] [Bug 118410] Segmentation fault occurred when ICU data library doesn't embed the expected encoding
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 5 04:55:03 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118410
Benjamin Dupont <bdupont at nds.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #206139| |review?, commit-queue?
Flag| |
--- Comment #1 from Benjamin Dupont <bdupont at nds.com> 2013-07-05 04:57:03 PST ---
Created an attachment (id=206139)
--> (https://bugs.webkit.org/attachment.cgi?id=206139&action=review)
Segmentation fault occurred when ICU data library doesn't embed the expected encoding.
The problem is into the newTextCodec function from Source/WebCore/platform/text/TextEncodingRegistry.cpp. The textCodecMap hash map doesn't contain a factory for the Shift_JIS encoding thus factory.function is null.
In this case, the first factory in the hash map is used. It's not a perfect solution, it's just to avoid the segmentation fault.
--
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