Bug 22835 - Crash during bytecode generation when comparing to null
Summary: Crash during bytecode generation when comparing to null
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Normal
Assignee: Cameron Zwarich (cpst)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-12-12 17:20 PST by Cameron Zwarich (cpst)
Modified: 2008-12-12 17:47 PST (History)
0 users

See Also:


Attachments
Proposed patch (4.95 KB, patch)
2008-12-12 17:43 PST, Cameron Zwarich (cpst)
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Zwarich (cpst) 2008-12-12 17:20:28 PST
The following crashes:

function f(a)
{
    a != null;
}
f();

I have the fix.
Comment 1 Cameron Zwarich (cpst) 2008-12-12 17:37:13 PST
<rdar://problem/6286749>
Comment 2 Cameron Zwarich (cpst) 2008-12-12 17:43:07 PST
Created attachment 25994 [details]
Proposed patch
Comment 3 Cameron Zwarich (cpst) 2008-12-12 17:47:58 PST
Landed in r39263.