Changeset 25681 in webkit
- Timestamp:
- Sep 21, 2007 4:06:33 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r25658 r25681 1 2007-09-21 Mark Rowe <mrowe@apple.com> 2 3 Reviewed by Antti Koivisto. 4 5 http://bugs.webkit.org/show_bug.cgi?id=15250 6 <rdar://problem/5496942> REGRESSION: Reproducible crash in Safari when evaluating script in Drosera console (15250) 7 8 * kjs/function.cpp: 9 (KJS::GlobalFuncImp::callAsFunction): Null-check thisObj before passing it to interpreterForGlobalObject. 10 1 11 2007-09-19 Holger Hans Peter Freyther <zecke@selfish.org> 2 12 -
trunk/JavaScriptCore/kjs/function.cpp
r25535 r25681 818 818 return throwError(exec, SyntaxError, errMsg, errLine, sid, NULL); 819 819 820 bool switchGlobal = exec->dynamicInterpreter()->isGlobalObject(thisObj) && thisObj != exec->dynamicInterpreter()->globalObject();820 bool switchGlobal = thisObj && exec->dynamicInterpreter()->isGlobalObject(thisObj) && thisObj != exec->dynamicInterpreter()->globalObject(); 821 821 822 822 // enter a new execution context
Note: See TracChangeset
for help on using the changeset viewer.