Closed
Bug 392505
Opened 17 years ago
Closed 17 years ago
nsNPObjWrapper::GetNewOrUsed() removes PLDHash entries from the wrong table if OOM (JS)
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jst, Assigned: jst)
Details
(Keywords: fixed1.8.1.8)
Attachments
(2 files)
857 bytes,
patch
|
mrbkap
:
review+
peterv
:
superreview+
dveditz
:
approval1.8.1.8+
|
Details | Diff | Splinter Review |
2.93 KB,
patch
|
peterv
:
review+
peterv
:
superreview+
jst
:
approval1.9+
|
Details | Diff | Splinter Review |
Found by code inspection around the point of a crash seen by a plugin developer. Obvious patch attached (if you look above the context in the diff you'll see that the entry being removed comes from sNPObjWrappers, not sJSObjWrappers).
Flags: blocking1.9+
Attachment #277005 -
Flags: superreview?(dveditz)
Attachment #277005 -
Flags: review?(mrbkap)
Attachment #277005 -
Flags: approval1.8.1.7?
Updated•17 years ago
|
Attachment #277005 -
Flags: review?(mrbkap) → review+
Updated•17 years ago
|
Attachment #277005 -
Flags: superreview?(dveditz) → superreview+
Comment 1•17 years ago
|
||
Comment on attachment 277005 [details] [diff] [review]
Remove entry from the right hash.
approved for 1.8.1.7, a=dveditz
Attachment #277005 -
Flags: approval1.8.1.7? → approval1.8.1.7+
Assignee | ||
Comment 2•17 years ago
|
||
Peter, this is the same patch with a couple of additional cleanups and an unnecessary error check removed when calling JS_SetPrivate() (which can not fail).
Assignee: nobody → jst
Status: NEW → ASSIGNED
Attachment #277633 -
Flags: superreview?(peterv)
Attachment #277633 -
Flags: review?(peterv)
Updated•17 years ago
|
Attachment #277633 -
Flags: superreview?(peterv)
Attachment #277633 -
Flags: superreview+
Attachment #277633 -
Flags: review?(peterv)
Attachment #277633 -
Flags: review+
Assignee | ||
Updated•17 years ago
|
Attachment #277633 -
Flags: approval1.9+
Assignee | ||
Comment 3•17 years ago
|
||
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•17 years ago
|
||
This landed on the 1.8 branch a long time ago, just forgot to mark it :(
Keywords: fixed1.8.1.7
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•