|
Bugzilla – Full Text Bug Listing |
| Summary: | pcsc-lite-1.3.2-24: array subscript is above array bounds | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | David Binderman <dcb314> |
| Component: | Other | Assignee: | Stanislav Brabec <sbrabec> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Feel free to close as duplicate of Bug #240922. *** This bug has been marked as a duplicate of bug 240922 *** |
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.