[Bug 239174] New: pcsc-lite-1.3.2-24: array subscript is above array bounds
https://bugzilla.novell.com/show_bug.cgi?id=239174 Summary: pcsc-lite-1.3.2-24: array subscript is above array bounds Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package pcsc-lite-1.3.2-24 with the new GNU compiler version 4.3 snapshot 20070119 The compiler said winscard_svc.c:92: warning: array subscript is above array bounds The source code is if (i == PCSCLITE_MAX_APPLICATIONS_CONTEXTS) { SYS_CloseFile(psContext[i].dwClientID); but } psContext[PCSCLITE_MAX_APPLICATIONS_CONTEXTS]; I agree with the compiler. Suggest code rework. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=239174 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sbrabec@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=239174 ------- Comment #1 from sndirsch@novell.com 2007-01-31 15:40 MST ------- Feel free to close as duplicate of Bug #240922. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=239174 pgajdos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from pgajdos@novell.com 2007-03-07 02:50 MST ------- *** This bug has been marked as a duplicate of bug 240922 *** -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com