Closed Bug 822042 Opened 13 years ago Closed 13 years ago

IonMonkey: the spewer will occasionally spew uninitialized memory

Categories

(Core :: JavaScript Engine, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: mjrosenb, Unassigned)

Details

Attachments

(1 file)

No description provided.
Attachment #692643 - Flags: review?(evilpies)
Comment on attachment 692643 [details] [diff] [review] /home/mrosenberg/patches/noUninitialized-r0.patch Review of attachment 692643 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/JSONSpewer.cpp @@ +259,5 @@ > if (def->range()) { > Sprinter sp(GetIonContext()->cx); > sp.init(); > def->range()->print(sp); > + stringProperty("type", "%s : blah", sp.string()); Like on mentioned on IRC, this was probably intended to be: stringProperty("type", "%s : %s", sp.string(), StringFromMIRType(def->type()));
Attachment #692643 - Flags: review?(evilpies) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: