WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23062
[jsfunfuzz] Computed exception offset wrong when first instruction is attempt to resolve deleted eval
https://bugs.webkit.org/show_bug.cgi?id=23062
Summary
[jsfunfuzz] Computed exception offset wrong when first instruction is attempt...
Oliver Hunt
Reported
2008-12-31 17:44:25 PST
delete eval; (function(){ try { eval("") } catch(e) { print("ARGHH!!!") } })() Results in an assertion failure as it fails to find the correct handler offset when resolving eval fails.
Attachments
Emit expression info for the eval resolve
(3.57 KB, patch)
2008-12-31 18:24 PST
,
Oliver Hunt
barraclough
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2008-12-31 18:07:48 PST
Have fix, we weren't correctly emitting position information for the resolve of "eval" in the eval call node. Just making tests.
Oliver Hunt
Comment 2
2008-12-31 18:24:21 PST
Created
attachment 26342
[details]
Emit expression info for the eval resolve Nice and easy fix
Oliver Hunt
Comment 3
2008-12-31 18:34:14 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M JavaScriptCore/ChangeLog M JavaScriptCore/parser/Nodes.cpp M LayoutTests/ChangeLog M LayoutTests/fast/js/exception-linenums-expected.txt M LayoutTests/fast/js/resources/exception-linenums.js Committed
r39533
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug