Closed Bug 290476 Opened 20 years ago Closed 20 years ago

js_AllocStack doesn't clear space it returns

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: brendan, Unassigned)

References

()

Details

(Keywords: fixed-aviary1.0.4, fixed1.7.8, js1.5)

Attachments

(1 file)

Thus callers who alloc GC-things and push them one by one may cause a last-ditch GC or three that scan an uninitialized or partly initialized stack segment. Patch so fast it will make your heads spin! /be
Attached patch fixSplinter Review
This fixes a recent "regression" where the patch I advised jst to make to fix an old windowwatcher GC safety bug counted on this fix, without knowing it. /be
Attachment #180802 - Flags: review?(shaver)
Attachment #180802 - Flags: approval1.8b2+
Attachment #180802 - Flags: approval1.7.7?
Attachment #180802 - Flags: approval-aviary1.0.3?
Comment on attachment 180802 [details] [diff] [review] fix r=shaver
Attachment #180802 - Flags: review?(shaver) → review+
(In reply to comment #3) > See also bug 289949 comment 26. which I made this bug's URL ;-). Fixed on trunk. Chase, if you have reason to respin any branch builds, this is a classic one-line fix that you should take. /be
Status: NEW → RESOLVED
Closed: 20 years ago
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.8beta2
Comment on attachment 180802 [details] [diff] [review] fix missed 1.0.3 / 1.7.7; should try for 1.0.4 / 1.7.8
Attachment #180802 - Flags: approval1.7.8?
Attachment #180802 - Flags: approval1.7.7?
Attachment #180802 - Flags: approval1.7.7-
Attachment #180802 - Flags: approval-aviary1.0.4?
Attachment #180802 - Flags: approval-aviary1.0.3?
Attachment #180802 - Flags: approval-aviary1.0.3-
Comment on attachment 180802 [details] [diff] [review] fix a=chase for branches Please land this asap.
Attachment #180802 - Flags: approval1.7.8?
Attachment #180802 - Flags: approval1.7.8+
Attachment #180802 - Flags: approval-aviary1.0.4?
Attachment #180802 - Flags: approval-aviary1.0.4+
dbaron, do you want to approve for the branches? /be
Flags: blocking-aviary1.1?
Flags: blocking-aviary1.0.4?
Flags: blocking-aviary1.1?
Flags: blocking-aviary1.0.4?
Flags: testcase-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: