Mailinglist Archive: opensuse-bugs (7117 mails)
| < Previous | Next > |
[Bug 351207] New: pam_pkcs11-0.6.0-45: local variable used before set
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 2 Jan 2008 13:37:00 -0700 (MST)
- Message-id: <bug-351207-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=351207
Summary: pam_pkcs11-0.6.0-45: local variable used before set
Product: openSUSE 11.0
Version: unspecified
Platform: All
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
I just tried to compile the package pam_pkcs11-0.6.0-45
The compiler said
pkcs11_lib.c:289: warning: 'i' is used uninitialized in this function
The source code is
if (slot_num >= 0 && slot_num < module->slotCount && module->slots &&
module->slots[i] && PK11_IsPresent(module->slots[i])) {
I agree with the compiler. Suggest initialise local variable "i"
before first use.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: pam_pkcs11-0.6.0-45: local variable used before set
Product: openSUSE 11.0
Version: unspecified
Platform: All
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
I just tried to compile the package pam_pkcs11-0.6.0-45
The compiler said
pkcs11_lib.c:289: warning: 'i' is used uninitialized in this function
The source code is
if (slot_num >= 0 && slot_num < module->slotCount && module->slots &&
module->slots[i] && PK11_IsPresent(module->slots[i])) {
I agree with the compiler. Suggest initialise local variable "i"
before first use.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |