WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
21225
Machine::retrieveLastCaller should check for a NULL codeBlock
https://bugs.webkit.org/show_bug.cgi?id=21225
Summary
Machine::retrieveLastCaller should check for a NULL codeBlock
Geoffrey Garen
Reported
2008-09-29 17:28:06 PDT
Machine::retrieveLastCaller reads a CodeBlock out of the register file without checking for NULL. Since CodeBlocks in the register file can be NULL, it should check. I thought you could crash this code through something like "console.log.call(console, 'hello world')", but that doesn't quite do it. Still, we should just be safe and check for NULL.
Attachments
Add attachment
proposed patch, testcase, etc.
Geoffrey Garen
Comment 1
2008-09-29 18:03:42 PDT
Committed revision 37087.
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