Closed
Bug 15383
Opened 25 years ago
Closed 24 years ago
Test class JSSample breaks memory ownership rules
Categories
(Core Graveyard :: Java to XPCOM Bridge, defect, P3)
Core Graveyard
Java to XPCOM Bridge
Tracking
(Not tracked)
CLOSED
INVALID
People
(Reporter: frankm, Assigned: blackconnect)
Details
JSSample::SetSomeName() should copy the char* it receives, not assign it to its
own instance variable.
The code was written before the XPCOM rules were formalized, so there may be
other violations.
Reporter | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•25 years ago
|
||
Actually, it doesn't, but it does use new/delete instead of nsAllocator. I've
got a fix in my workarea, pending review.
Comment 2•24 years ago
|
||
Frank Mitchell no longer works at Sun and his email is bouncing. Reassigning
his 21 bugs to george for reassignment.
Assignee: frankm → drapeau
Status: ASSIGNED → NEW
Assignee | ||
Comment 4•24 years ago
|
||
closing as invalid
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Comment 5•23 years ago
|
||
VERIFIED invalid.
Must be closed.
Status: RESOLVED → VERIFIED
QA Contact: leila.garin → avm
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•