Closed Bug 251638 Opened 20 years ago Closed 12 years ago

[W] UMC: Uninitialized memory copy in XPCOMGlueStartup {1 occurrence}

Categories

(Core :: XPCOM, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

[W] UMC: Uninitialized memory copy in XPCOMGlueStartup {1 occurrence} Copying 4 bytes from 0x0013f18c (4 bytes at 0x0013f18c uninitialized) Address 0x0013f18c points into a thread's stack Address 0x0013f18c is 16 bytes past the start of local variable 'libSpec' in XPCOMGlueStartup Thread ID: 0x1724 Error location XPCOMGlueStartup+0x21f [r:\mozilla\xpcom\glue\standalone\nsxpcomglue.cpp:107 ip=0x0042adf2] else { rv = (*function)(&xpcomFunctions, libPath); PR_Free(libPath); } } else { PRLibSpec libSpec; libSpec.type = PR_LibSpec_Pathname; if (!xpcomFile) libSpec.value.pathname = XPCOM_DLL; else libSpec.value.pathname = xpcomFile; => xpcomLib = PR_LoadLibraryWithFlags(libSpec, PR_LD_LAZY|PR_LD_GLOBAL); if (!xpcomLib) return NS_ERROR_FAILURE; function = (GetFrozenFunctionsFunc) PR_FindSymbol(xpcomLib, "NS_GetFrozenFunctions"); if (!function) rv = NS_ERROR_FAILURE; else rv = (*function)(&xpcomFunctions, libSpec.value.pathname); } if (NS_FAILED(rv)) goto bail; GRE_Startup+0x45 [r:\mozilla\xpcom\glue\standalone\nsxpcomglue.cpp:461 ip=0x0042b019] main+0x77 [r:\mozilla\xpfe\bootstrap\nsapprunner.cpp:1737 ip=0x0040722e] WinMain+0x7a [r:\mozilla\xpfe\bootstrap\nsapprunner.cpp:1840 ip=0x0040750e] WinMainCRTStartup+0x5f7 [f:\vs70builds\9466\vc\crtbld\crt\src\crtexe.c:392 ip=0x0042cd5d] This is purify noise. PRLibSpec is 3 fields wide and we init 2 of them on average.
Attached patch silence purifySplinter Review
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
QA Contact: xpcom
I think this bug was fixed by bug 298044.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: