Closed
Bug 396045
Opened 18 years ago
Closed 18 years ago
Warning: usage of uninitialized variable in ckfw/mechanism.c(719)
Categories
(NSS :: Libraries, defect)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.12
People
(Reporter: bugzilla, Assigned: bugzilla)
References
()
Details
Attachments
(1 file)
1.72 KB,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
VC8 reports a warning C4700, cause mdOperation isn't initialized before it's used in a comparison (see URL).
Assignee | ||
Comment 1•18 years ago
|
||
The check if mdOperation is NULL should happen after mdOperation is initialized and not before (e.g. like it's done in nssCKFWMechanism_SignInit).
Comment 2•18 years ago
|
||
Comment on attachment 290982 [details] [diff] [review]
move the NULL check to the correct position in the code
Ask the author for review
Attachment #290982 -
Flags: review?(nelson) → review?(rrelyea)
Comment 3•18 years ago
|
||
Comment on attachment 290982 [details] [diff] [review]
move the NULL check to the correct position in the code
r+ rrelyea
Attachment #290982 -
Flags: review?(rrelyea) → review+
Assignee | ||
Updated•18 years ago
|
Keywords: checkin-needed
Comment 4•18 years ago
|
||
NSS is restricted, so somebody from NSS will need to commit this for you.
Comment 5•18 years ago
|
||
wtc, mind landing this for Aqualon? I don't have access to NSS.
Comment 6•18 years ago
|
||
I checked in the patch on the NSS trunk for NSS 3.12.
Checking in mechanism.c;
/cvsroot/mozilla/security/nss/lib/ckfw/mechanism.c,v <-- mechanism.c
new revision: 1.5; previous revision: 1.4
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → 3.12
You need to log in
before you can comment on or make changes to this bug.
Description
•