Closed
Bug 413831
Opened 18 years ago
Closed 17 years ago
nsCategoryManager::GetCategoryEntry returned is allocated via nsCRT::Strdup
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
DUPLICATE
of bug 484309
People
(Reporter: dbradley, Assigned: dbradley)
Details
Attachments
(1 file)
|
568 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
It should use NS_strdup. This makes it impossible for applications using external linkage to properly match the allocation with the proper free.
| Assignee | ||
Comment 1•18 years ago
|
||
Simple one liner fix
| Assignee | ||
Updated•18 years ago
|
Attachment #298931 -
Flags: review? → review?(benjamin)
Updated•18 years ago
|
Attachment #298931 -
Flags: review?(benjamin) → review+
Fixed in bug 484309.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Comment 3•17 years ago
|
||
Sorry for not spotting this bug (I searched Bugzilla for "mismatch"...)
You need to log in
before you can comment on or make changes to this bug.
Description
•