From de40fdd2d3c6edf65eed6f43d0d7731440bfb555 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 30 Nov 2012 17:01:47 +0100 Subject: Crash in conversion of empty OpaqueJSString to Identifier https://bugs.webkit.org/show_bug.cgi?id=101867 Patch by Allan Sandfeld Jensen on 2012-11-30 Reviewed by NOBODY (OOPS!). The constructor call used for both null and empty OpaqueJSStrings results in an assertion voilation and crash. This patch instead uses the Identifier constructors which are specifically for null and empty Identifier. * API/OpaqueJSString.cpp: (OpaqueJSString::identifier): Change-Id: Ia685336d1310be99425d1f80ec29ed0020084061 Reviewed-by: Simon Hausmann --- Source/JavaScriptCore/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Source/JavaScriptCore/ChangeLog') diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog index 13066e436..7a50471b6 100644 --- a/Source/JavaScriptCore/ChangeLog +++ b/Source/JavaScriptCore/ChangeLog @@ -1,3 +1,17 @@ +2012-11-30 Allan Sandfeld Jensen + + Crash in conversion of empty OpaqueJSString to Identifier + https://bugs.webkit.org/show_bug.cgi?id=101867 + + Reviewed by NOBODY (OOPS!). + + The constructor call used for both null and empty OpaqueJSStrings results + in an assertion voilation and crash. This patch instead uses the Identifier + constructors which are specifically for null and empty Identifier. + + * API/OpaqueJSString.cpp: + (OpaqueJSString::identifier): + 2012-11-30 Tor Arne Vestbø [Qt] Place the LLIntOffsetsExtractor binaries in debug/release subdirs on Mac -- cgit v1.2.1