Closed Bug 51836 Opened 24 years ago Closed 24 years ago

UMR in nsReadingIterator<WORD>::normalize_forward(void)

Categories

(Core :: XPCOM, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 51662

People

(Reporter: warrensomebody, Assigned: scc)

Details

I'm seeing lots of these running the TestServMgr test program...

[W] UMR: Uninitialized memory read in 
nsReadingIterator<WORD>::normalize_forward(void) {1 occurrence}
    Reading 4 bytes from 0x0013fc30 (4 bytes at 0x0013fc30 uninitialized)
    Address 0x0013fc30 points into a thread's stack 
    Address 0x0013fc30 is 12 bytes past the start of local variable 'hashBegin' 
in NS_NewAtom(basic_nsAReadableString<WORD> const&)
    Thread ID: 0x8e
    Error location
        nsReadingIterator<WORD>::normalize_forward(void) 
[nsAReadableString.h:459]
                nsReadingIterator<CharT>::normalize_forward()
                  {
                    while ( mPosition == mFragment.mEnd
             =>          && mOwningString->GetReadableFragment(mFragment, 
kNextFragment) )
                        mPosition = mFragment.mStart;
                  }
                
        
basic_nsAReadableString<WORD>::BeginReading(nsReadingIterator<WORD>&)const 
[nsAReadableString.h:483]
        NS_NewAtom(basic_nsAReadableString<WORD> const&) [nsAtomTable.cpp:198]
        NS_NewAtom(char const*) [nsAtomTable.cpp:186]
        nsDirectoryService::Init(char const*) [nsDirectoryService.cpp:366]
        NS_InitXPCOM2(char const*,nsIServiceManager * *,nsIFile *) 
[nsXPComInit.cpp:252]
        NS_InitXPCOM(nsIServiceManager * *,nsIFile *) [nsXPComInit.cpp:200]
        NS_GetGlobalComponentManager(nsIComponentManager * *) 
[nsComponentManager.cpp:2290]
        nsComponentManager::RegisterComponent(nsID const&,char const*,char 
const*,char const*,int,int) [nsRepository.cpp:119]
        SetupFactories(void) [TestServMgr.cpp:142]


*** This bug has been marked as a duplicate of 51662 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.