Closed
Bug 300432
Opened 19 years ago
Closed 19 years ago
UMR in nsCategoryManager::NotifyObservers
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: pavlov, Assigned: chpe)
References
Details
Attachments
(1 file)
619 bytes,
patch
|
Biesinger
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
The checkin for bug 246085 caused this regression. [W] UMR: Uninitialized memory read in nsCategoryManager::NotifyObservers(char const*,char const*,char const*) {1 occurrence} Reading 4 bytes from 0x03506c84 (4 bytes at 0x03506c84 uninitialized) Address 0x03506c84 is 76 bytes into a 80 byte block at 0x03506c38 Address 0x03506c84 points to a C++ new block in heap 0x01f30000 Thread ID: 0x16f0 Error location nsCategoryManager::NotifyObservers(char const*,char const*,char const*) [c:\builds\mozilla\xpcom\components\nscategorymanager.cpp:526] void nsCategoryManager::NotifyObservers( const char *aTopic, const char *aCategoryName, const char *aEntryName ) { => if (mSuppressNotifications) return;
Reporter | ||
Comment 1•19 years ago
|
||
Attachment #189010 -
Flags: superreview?(darin)
Attachment #189010 -
Flags: review?(cbiesinger)
Updated•19 years ago
|
Attachment #189010 -
Flags: superreview?(darin) → superreview+
Comment 2•19 years ago
|
||
Comment on attachment 189010 [details] [diff] [review] fix seems to me like this'd fit better into a constructor, but ok..
Attachment #189010 -
Flags: review?(cbiesinger) → review+
Comment 3•19 years ago
|
||
hrm, yeah.. i agree with biesi. why not put this initializer in the nsCategoryManager constructor?
Assignee | ||
Comment 4•19 years ago
|
||
(In reply to comment #3) > hrm, yeah.. i agree with biesi. why not put this initializer in the > nsCategoryManager constructor? My patch (attachment 189593 [details] [diff] [review]) in bug 246085 includes that change.
Comment 6•19 years ago
|
||
*** Bug 306780 has been marked as a duplicate of this bug. ***
Comment 7•19 years ago
|
||
Now that the latest patch for bug 246085 is in, we can mark this bug FIXED.
Comment 8•19 years ago
|
||
*** Bug 325863 has been marked as a duplicate of this bug. ***
Worth noting that this is still alive on MOZILLA_1_8_0_BRANCH, which seems a bit disturbing to me.
You need to log in
before you can comment on or make changes to this bug.
Description
•