Closed Bug 411068 Opened 17 years ago Closed 17 years ago

nsUrlClassifierDBServiceWorker::Lookup proxy uses uninitialized data for PRBool Parameter on x86_64

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 409294

People

(Reporter: sayrer, Unassigned)

Details

Attachments

(1 file)

The symptom is something like this:
==20775== Conditional jump or move depends on uninitialised value(s)
==20775==    by 0x58BE46A: nsProxyObjectCallInfo::CopyStrings(int) (nsProxyEvent.cpp:231)
==20775==    by 0x58BE811: nsProxyObjectCallInfo::nsProxyObjectCallInfo(nsProxyEventObject*, XPTMethodDescriptor const*, unsigned, nsXPTCVariant*, unsigned) (nsProxyEvent.cpp:148)
==20775==    by 0x58BFE05: nsProxyEventObject::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (nsProxyEventObject.cpp:237)
==20775==    by 0x58CF718: PrepareAndDispatch (xptcstubs_x86_64_linux.cpp:152)
==20775==    by 0x58CE77E: SharedStub (in /home/sayrer/dev/debug_firefox/mozilla/ff-debug-libxul/xpcom/build/libxpcom_core.so)
==20775==    by 0x145E216C: nsUrlClassifierDBService::LookupURI(nsIURI*, nsIUrlClassifierCallback*, int) (nsUrlClassifierDBService.cpp:2464)
Notice that the second byte of the PRBool param is zero.
The call that causes this is in nsUrlClassifierDBService.cpp:

2450   // The actual worker uses the background thread.
2451   nsCOMPtr<nsIUrlClassifierDBServiceWorker> proxy;
...
2464   return proxy->Lookup(EmptyCString(), nsnull, PR_FALSE);
Summary: nsUrlClassifierDBServiceWorker::Lookup proxy gets uninitialized data for PRBool Parameter on x86_64 → nsUrlClassifierDBServiceWorker::Lookup proxy uses uninitialized data for PRBool Parameter on x86_64
For sure
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: