Closed Bug 45622 Opened 24 years ago Closed 24 years ago

function returns uninitialized variable

Categories

(NSPR :: NSPR, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 45623

People

(Reporter: marcenuc, Assigned: wtc)

Details

I'm not sure if it is a bug, but in file
"/cvsroot/mozilla/nsprpub/pr/src/md/unix/uxshm.c", function
"_md_ImportFileMapFromString()" returns "fm" without initializing it in case of
error.

 I have fixed this assigning a default NULL value tu "fm", because this is the
value expected in case of error.
Looks like the bug was reported twice.

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