[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.22-985-g3c00f00
oliver at apple.com
oliver at apple.com
Wed Mar 17 17:59:47 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit b6f2ec6aa541397fd7e8e3b2c32bb9265782bd52
Author: oliver at apple.com <oliver at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Feb 25 22:52:09 2010 +0000
2010-02-25 Oliver Hunt <oliver at apple.com>
Reviewed by Geoff Garen.
JSC crashes like crazy in the JSPropertyNameIterator destructor
Add back null check of m_cachedStructure. Curse last minute changes.
* runtime/JSPropertyNameIterator.cpp:
(JSC::JSPropertyNameIterator::~JSPropertyNameIterator):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index f855d5e..9883103 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,5 +1,16 @@
2010-02-25 Oliver Hunt <oliver at apple.com>
+ Reviewed by Geoff Garen.
+
+ JSC crashes like crazy in the JSPropertyNameIterator destructor
+
+ Add back null check of m_cachedStructure. Curse last minute changes.
+
+ * runtime/JSPropertyNameIterator.cpp:
+ (JSC::JSPropertyNameIterator::~JSPropertyNameIterator):
+
+2010-02-25 Oliver Hunt <oliver at apple.com>
+
Reviewed by Maciej Stachowiak.
Race condition in JSPropertyNameIterator and Structure destruction
diff --git a/JavaScriptCore/runtime/JSPropertyNameIterator.cpp b/JavaScriptCore/runtime/JSPropertyNameIterator.cpp
index 2e85a9b..a5d4da0 100644
--- a/JavaScriptCore/runtime/JSPropertyNameIterator.cpp
+++ b/JavaScriptCore/runtime/JSPropertyNameIterator.cpp
@@ -49,7 +49,8 @@ inline JSPropertyNameIterator::JSPropertyNameIterator(ExecState* exec, PropertyN
JSPropertyNameIterator::~JSPropertyNameIterator()
{
- m_cachedStructure->clearEnumerationCache(this);
+ if (m_cachedStructure)
+ m_cachedStructure->clearEnumerationCache(this);
}
JSPropertyNameIterator* JSPropertyNameIterator::create(ExecState* exec, JSObject* o)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list