Closed Bug 723099 Opened 14 years ago Closed 14 years ago

Assertion failure: [infer failure] Missing type pushed 0: string, at jsinfer.cpp:352

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla12
Tracking Status
firefox11 --- unaffected
firefox12 + fixed
firefox13 + fixed
firefox-esr10 --- unaffected
status1.9.2 --- unaffected

People

(Reporter: decoder, Assigned: bhackett1024)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [sg:critical] js-triage-needed)

Attachments

(1 file)

The following test crashes on mozilla-central revision a71b7cea4577 (options -m -a -n): function test() { try { for ( var i = 0 in test() ) return x; } catch (e) { if (i !== ("str")) return "wat"; } } test(); S-s because infer failures can indicate a security problem.
Is this a regression?
Whiteboard: js-triage-needed → [sg:critical] js-triage-needed
Attached patch patchSplinter Review
Incomplete fix for bug 719758, there are other opcodes which have no fallthrough but do not have a direct jump target.
Assignee: general → bhackett1024
Attachment #593654 - Flags: review?(dvander)
Comment on attachment 593654 [details] [diff] [review] patch [Approval Request Comment] Regression caused by (bug #): 704387 User impact if declined: potential vulnerability Risk to taking this patch (and alternatives if risky): low, fixes logic bug in rare code pattern
Attachment #593654 - Flags: approval-mozilla-aurora?
Attachment #593654 - Flags: review?(dvander) → review+
Comment on attachment 593654 [details] [diff] [review] patch [Triage Comment] Approved for Aurora 12.
Attachment #593654 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
based on the date of the regressing bug this should not affect anything earlier than Fx12
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Target Milestone: mozilla13 → mozilla12
Status: RESOLVED → VERIFIED
Group: core-security
Slow/infinite test, not taking for the test suite.
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: