Closed Bug 46525 Opened 25 years ago Closed 25 years ago

UMR in OpenProcessToken called from PR_NT_InitSids [ntsec.c:80]

Categories

(NSPR :: NSPR, defect, P3)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bratell, Assigned: wtc)

Details

Attachments

(1 file)

When running Mozilla today on Windows 2000 I notice an Unintialized Memory Read in OpenProcessToken. It's the last parameter hToken that's not initialized. As far as I can see we shouldn't have to either but it's probably a bug in Windoes. Maybe we could null it or something just to silence Purify. For the moment, it's the only warning during startup in my local tree. (I have some code that's not checked in yet.)
Attached patch Proposed patch.Splinter Review
Target Milestone: --- → 4.1
Does the proposed patch silence Purify?
Yes it does.
I checked in the patch on the main trunk. /cvsroot/mozilla/nsprpub/pr/src/md/windows/ntsec.c, revision 3.5
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I don't see this fixed in Mozilla (Seamonkey). Is this using another version of NSPR than the one you fixed it on?
Yes, Mozilla (SeaMonkey) is using the NSPRPUB_CLIENT_BRANCH of NSPR. I checked in the fix on the main trunk of NSPR. Only critical bug fixes can be checked in on the NSPRPUB_CLIENT_BRANCH.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: